Initializing help system before first use

fgets, fgetsl

fgets, fgetsl


Purpose
Read a text string from the current input stream.
Synopsis
char *fgets(XPRMcontext ctx, char *s, int size);
int fgetsl(XPRMcontext ctx, char *s, int size);
Arguments
ctx 
Mosel's execution context
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.