1RFIO_WRITE(3) Rfio Library Functions
2RFIO_WRITE(3)
3
4
5
6[1mNAME[0m
7 rfio_write ‐ 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_write (int [4m[22ms[24m[1m, const void
14*[4m[22mptr[24m[1m, int [4m[22msize[24m[1m);[0m
15
16[1mDESCRIPTION[0m
17 [1mrfio_write [22mstores in a file the bytes starting at
18[1mptr[22m, a pointer to the
19 memory location in which resides 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 items
27 actually writen. 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 [1mCastor_limits(4)[22m, [1mrfio_open(3)[0m
49
50[1mAUTHOR[0m
51 [1mLCG Grid Deployment [22mTeam
52
53
54
55LCG $Date: 2005/03/31 13:13:04 $
56RFIO_WRITE(3)
57
58
59
60
61
62
63
64
65
66