Declaration: 
int fileno(unsigned long stream); 
Description 
Gets file handle. 
fileno returns the file handle for the given stream. If stream has more than one handle, then fileno will return the handle assigned to the stream, when it was first opened. 
Returned Value 
fileno returns the integer file handle associated with the stream. 
  
 |