1RFIO_PREAD(3)                    Rfio      Library      Functions
2RFIO_PREAD(3)
3
4
5
6[1mNAME[0m
7       rfio_pread ‐ 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_pread    (char    *[4m[22mptr[24m[1m,    int
14[4m[22msize[24m[1m,       int      [4m[22mitems[24m[1m,      FILE
15*[4m[22mfd[24m[1m);[0m
16
17[1mDESCRIPTION[0m
18       [1mrfio_pread   [22mreads   [1mitems   [22mtimes   [1msize
19[22mbytes, using the descriptor [1mfd [22mgener‐
20       ated  by  a  previous [1mrfio_popen [22mand strore them at
21location [1mptr[22m.
22
23[1mRETURN VALUE[0m
24       This routine returns ‐1 if the  operation  failed  or  the
25number of  items
26       actually  read.  In  case of failure, [1mserrno [22mis set
27appropriately.
28
29[1mERRORS[0m
30       [1mEBADF        [4m[22mfd[24m is a NULL pointer.
31
32       [1mSENOSHOST    [22mHost unknown.
33
34       [1mSENOSSERV    [22mService unknown.
35
36       [1mSETIMEDOUT   [22mTimed out.
37
38       [1mSEBADVERSION [22mVersion ID mismatch.
39
40       [1mSECONNDROP   [22mConnection closed by remote end.
41
42       [1mSECOMERR     [22mCommunication error.
43
44       [1mSENORCODE    [22mHost did not return error number.
45
46[1mSEE ALSO[0m
47       [1mrfio_popen(3)[0m
48
49[1mAUTHOR[0m
50       [1mLCG Grid Deployment [22mTeam
51
52
53
54LCG                         $Date:    2008/09/24    11:25:01    $
55RFIO_PREAD(3)
56
57
58
59
60
61
62
63
64
65
66
Impressum