1RFIO_READ(3)                     Rfio      Library      Functions
2RFIO_READ(3)
3
4
5
6[1mNAME[0m
7       rfio_read ‐ reads in a file
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "rfio_api.h"[0m
12
13       [1mint    rfio_read     (int     [4m[22ms[24m[1m,     void
14*[4m[22mptr[24m[1m, int [4m[22msize[24m[1m);[0m
15
16[1mDESCRIPTION[0m
17       [1mrfio_read    [22mreads    in  the  file  and  store  in
18[1mptr[22m, a pointer to the memory
19       location in which to  place   the   information,   [1msize
20[22mbytes,  using  the
21       descriptor   [1ms   [22mgenerated   by  a  previous  [1mr‐
22fio_open[22m.
23
24[1mRETURN VALUE[0m
25       This  routine returns ‐1 if the operation  failed  or  the
26number of bytes
27       actually  read.  In  case of failure, [1mserrno [22mis set
28appropriately.
29
30[1mERRORS[0m
31       [1mEBADF        [4m[22ms[24m is not a valid descriptor.
32
33       [1mSENOSHOST    [22mHost unknown.
34
35       [1mSENOSSERV    [22mService unknown.
36
37       [1mSETIMEDOUT   [22mTimed out.
38
39       [1mSEBADVERSION [22mVersion ID mismatch.
40
41       [1mSECONNDROP   [22mConnection closed by remote end.
42
43       [1mSECOMERR     [22mCommunication error.
44
45       [1mSENORCODE    [22mHost did not return error number.
46
47[1mSEE ALSO[0m
48       [1mrfio_open(3)[0m
49
50[1mAUTHOR[0m
51       [1mLCG Grid Deployment [22mTeam
52
53
54
55LCG                         $Date:    2005/03/31    13:13:03    $
56RFIO_READ(3)
57
58
59
60
61
62
63
64
65
66
Impressum