1RFIO_FTELL(3)                    Rfio      Library      Functions
2RFIO_FTELL(3)
3
4
5
6[1mNAME[0m
7       rfio_ftell ‐ tells the position in a stream
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "rfio_api.h"[0m
12
13       [1mlong rfio_ftell (FILE *[4m[22mfp[24m[1m);[0m
14
15       Under Linux, for large files:
16       [1m#define _LARGEFILE64_SOURCE[0m
17       [1m#include <sys/types.h>[0m
18       [1m#include "rfio_api.h"[0m
19
20       [1moff64_t rfio_ftello64 (FILE *[4m[22mfp[24m[1m);[0m
21
22       For large files, under other systems:
23       [1m#include <sys/types.h>[0m
24       [1m#include "rfio_api.h"[0m
25
26       [1moff64_t rfio_ftello64 (FILE *[4m[22mfp[24m[1m);[0m
27
28[1mDESCRIPTION[0m
29       [1mrfio_ftell  [22mreturns  the current  position  in  the
30file stream pointed by
31       [4mfp[24m.
32
33[1mRETURN VALUE[0m
34       This  routine  returns  the  position if the operation was
35successful or ‐1
36       if  the  operation  failed. In the latter case,  [1mserrno
37[22mis set appropri‐
38       ately.
39
40[1mERRORS[0m
41       [1mEBADF        [4m[22mfp[24m is not a valid descriptor.
42
43       [1mSENOSHOST    [22mHost unknown.
44
45       [1mSENOSSERV    [22mService unknown.
46
47       [1mSETIMEDOUT   [22mTimed out.
48
49       [1mSEBADVERSION [22mVersion ID mismatch.
50
51       [1mSEINTERNAL   [22mInternal error.
52
53       [1mSECONNDROP   [22mConnection closed by remote end.
54
55       [1mSECOMERR     [22mCommunication error.
56
57[1mSEE ALSO[0m
58       [1mrfio_fopen(3)[0m
59
60[1mAUTHOR[0m
61       [1mLCG Grid Deployment [22mTeam
62
63
64
65
66LCG                         $Date:    2005/03/31    13:13:02    $
67RFIO_FTELL(3)
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Impressum