Initializing help system before first use

fselect

fselect


Purpose
Select a stream to be the current input, output or error stream.
Synopsis
int fselect(XPRMcontext ctx, int stream);
Arguments
ctx 
Mosel's execution context
stream 
Stream number
Return value
The stream number or -1 in case of error.
Further information
This function selects a stream as the current input, output or error stream depending on the status of the stream ( i.e. a stream open for reading is assigned to the current input stream).
Related topics