|
||
int tfile_gets ( char *message_buffer, int message_number )
char *message_buffer; // A pointer to a character buffer int message_number; // A message number
|
|
|
Synopsis |
#include "silver.h"
The tfile_gets function uses message_number to get a string of text from the tfile (text file) that is currently open. The string is copied into message_buffer.
|
|
Parameters |
message_buffer is the address of a character buffer that is to receive the message. message_number is an integer specifying the message number
|
|
Return Value |
tfile_gets returns 1 if a tfile is currently open and the message number is relevant for it, and otherwise it returns 0.
|
|
See Also |
|