DOKK / manpages / debian 10 / libdpm-dev / rfio_fileno.3.en
RFIO_FILENO(3) Rfio Library Functions RFIO_FILENO(3)

rfio_fileno - maps stream pointer to file descriptor

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

int rfio_fileno (FILE *fp);

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

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.

fp is not a valid file descriptor.

rfio_fopen(3)

LCG Grid Deployment Team

$Date: 2005/03/31 13:13:02 $ LCG