Query: rfio_fileno
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RFIO_FILENO(3) Rfio Library Functions RFIO_FILENO(3)NAMErfio_fileno - maps stream pointer to file descriptorSYNOPSIS#include <sys/types.h> #include "rfio_api.h" int rfio_fileno (FILE *fp);DESCRIPTIONrfio_fileno returns the integer file descriptor associated with the stream pointed to by fp.RETURN VALUEUpon successful completion, rfio_fileno() returns the integer value of the file descriptor associated with the stream parameter. Other- wise, the value -1 is returned and serrno is set appropriately.ERRORSEBADF fp is not a valid file descriptor.SEE ALSOrfio_fopen(3)AUTHORLCG Grid Deployment TeamLCG$Date: 2005/03/31 13:13:02 $ RFIO_FILENO(3)