fileno
Returns the file handle for a stream (function or macro)
#include <stdio.h>
int fileno (
FILE *fp);
fileno returns the file handle designated by the fp parameter.
If an error occurs, errno is set to:
If fileno does not complete successfully, NetWareErrno is set.
The returned file handle can be used to access the stream with any of the functions that take a handle.
There are two versions of fileno in the NetWare API:
#ifdef fileno
#undef fileno
#endif