fselect
| fselect | 
  Purpose
 
  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
 
 
