rfio_fileno man page

RFIO_FILENO(3) Rfio Library Functions RFIO_FILENO(3)

[1mNAME[0m
rfio_fileno - maps stream pointer to file descriptor

[1mSYNOPSIS[0m
[1m#include <sys/types.h>[0m
[1m#include "rfio_api.h"[0m

[1mint rfio_fileno (FILE *[4m[22mfp[24m[1m);[0m

[1mDESCRIPTION[0m
[1mrfio_fileno [22mreturns the integer file descriptor associated with the
stream pointed to by [4mfp[24m.

[1mRETURN VALUE[0m
Upon successful completion, [1mrfio_fileno() [22mreturns the integer value of
the file descriptor associated with the stream parameter. Otherwise,
the value -1 is returned and [1mserrno [22mis set appropriately.

[1mERRORS[0m
[1mEBADF [4m[22mfp[24m is not a valid file descriptor.

[1mSEE ALSO[0m
[1mrfio_fopen(3)[0m

[1mAUTHOR[0m
[1mLCG Grid Deployment [22mTeam

LCG $Date: 2005/03/31 13:13:02 $ RFIO_FILENO(3)

Info