Provided by: libdpm-dev_1.8.7-3_amd64 bug

NAME

       rfio_fileno - maps stream pointer to file descriptor

SYNOPSIS

       #include <sys/types.h>
       #include "rfio_api.h"

       int rfio_fileno (FILE *fp);

DESCRIPTION

       rfio_fileno  returns  the integer file descriptor associated with the stream pointed to by
       fp.

RETURN VALUE

       Upon successful completion, rfio_fileno() returns the integer value of the file descriptor
       associated  with  the stream parameter.  Otherwise, the value -1 is returned and serrno is
       set appropriately.

ERRORS

       EBADF        fp is not a valid file descriptor.

SEE ALSO

       rfio_fopen(3)

AUTHOR

       LCG Grid Deployment Team