rfio_read man page

RFIO_READ(3) Rfio Library Functions RFIO_READ(3)

rfio_read - reads in a file

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

[1mint rfio_read (int [4m[22ms[24m[1m, void *[4m[22mptr[24m[1m, int [4m[22msize[24m[1m);[0m

[1mrfio_read [22mreads in the file and store in [1mptr[22m, a pointer to the memory
location in which to place the information, [1msize [22mbytes, using the
descriptor [1ms [22mgenerated by a previous [1mrfio_open[22m.

This routine returns -1 if the operation failed or the number of bytes
actually read. In case of failure, [1mserrno [22mis set appropriately.

[1mEBADF [4m[22ms[24m is not a valid descriptor.

[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSETIMEDOUT [22mTimed out.

[1mSEBADVERSION [22mVersion ID mismatch.

[1mSECONNDROP [22mConnection closed by remote end.

[1mSECOMERR [22mCommunication error.

[1mSENORCODE [22mHost did not return error number.

[1mSEE ALSO[0m

[1mLCG Grid Deployment [22mTeam

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