fgets, fgetsl
fgets, fgetsl |
Purpose
Synopsis
char *fgets(XPRMcontext ctx, char *s, int size);
int fgetsl(XPRMcontext ctx, char *s, int size);
Arguments
ctx
|
Mosel's execution context
|
s
|
Buffer where to store the string
|
size
|
Size of the buffer (number of bytes)
|
Return value
s if successful or
NULL if the end of file has been reached.
fgetsl returns the number of bytes read.
Further information
These functions read a text string from the default input stream.