1RFIO_PWRITE(3)                   Rfio      Library      Functions
2RFIO_PWRITE(3)
3
4
5
6[1mNAME[0m
7       rfio_pwrite ‐ writes to a file
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "rfio_api.h"[0m
12
13       [1mint   rfio_pwrite   (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_pwrite  [22mstores  in a file the  bytes  starting
19at [1mptr [22m, a pointer to
20       the  memory  location  in  which  resides the information,
21[1mitems [22mtimes  [1msize[0m
22       bytes, using the descriptor [1mfd [22mgenerated by a  pre‐
23vious [1mrfio_popen[22m.
24
25[1mRETURN VALUE[0m
26       This   routine  returns  ‐1 if the operation failed or the
27number of items
28       actually writen. In case of failure, [1mserrno [22mis  set
29appropriately.
30
31[1mERRORS[0m
32       [1mEBADF        [4m[22mfd[24m is a NULL pointer.
33
34       [1mSENOSHOST    [22mHost unknown.
35
36       [1mSENOSSERV    [22mService unknown.
37
38       [1mSETIMEDOUT   [22mTimed out.
39
40       [1mSEBADVERSION [22mVersion ID mismatch.
41
42       [1mSECONNDROP   [22mConnection closed by remote end.
43
44       [1mSECOMERR     [22mCommunication error.
45
46       [1mSENORCODE    [22mHost did not return error number.
47
48[1mSEE ALSO[0m
49       [1mrfio_popen(3)[0m
50
51[1mAUTHOR[0m
52       [1mLCG Grid Deployment [22mTeam
53
54
55
56LCG                         $Date:    2008/09/24    11:25:01    $
57RFIO_PWRITE(3)
58
59
60
61
62
63
64
65
66
Impressum