1RFIO_FILENO(3)                   Rfio      Library      Functions
2RFIO_FILENO(3)
3
4
5
6[1mNAME[0m
7       rfio_fileno ‐ maps stream pointer to file descriptor
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "rfio_api.h"[0m
12
13       [1mint rfio_fileno (FILE *[4m[22mfp[24m[1m);[0m
14
15[1mDESCRIPTION[0m
16       [1mrfio_fileno  [22mreturns  the  integer  file descriptor
17associated with the
18       stream pointed to by [4mfp[24m.
19
20[1mRETURN VALUE[0m
21       Upon  successful  completion, [1mrfio_fileno() [22mreturns
22the integer value  of
23       the  file  descriptor associated with the  stream  parame‐
24ter.  Otherwise,
25       the  value  ‐1 is returned and [1mserrno [22mis set appro‐
26priately.
27
28[1mERRORS[0m
29       [1mEBADF        [4m[22mfp[24m is not a valid file descrip‐
30tor.
31
32[1mSEE ALSO[0m
33       [1mrfio_fopen(3)[0m
34
35[1mAUTHOR[0m
36       [1mLCG Grid Deployment [22mTeam
37
38
39
40LCG                         $Date:    2005/03/31    13:13:02    $
41RFIO_FILENO(3)
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum