SIMPLE SOLUTIONS

RFIO_FILENO(3) - Linux man page online | Library functions

Maps stream pointer to file descriptor.

Chapter
$Date: 2005/03/31 13:13:02 $
RFIO_FILENO(3) Rfio Library Functions RFIO_FILENO(3)

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
LCG $Date: 2005/03/31 13:13:02 $ RFIO_FILENO(3)
This manual Reference Other manuals
rfio_fileno(3) referred by
refer to rfio_fopen(3)
Download raw manual
Index Rfio Library Functions (+60) LCG (+140) № 3 (+68044)
Go top