1RFIO_FCLOSE(3) Rfio Library Functions RFIO_FCLOSE(3)
2
3
4
6 rfio_fclose - closes a file
7
9 #include <sys/types.h>
10 #include "rfio_api.h"
11
12 int rfio_fclose (FILE *fd);
13
15 rfio_fclose closes the file whose descriptor fd is the one returned by
16 rfio_fopen.
17
19 This routine returns 0 if successful, -1 if the operation failed and
20 serrno is set appropriately.
21
23 EBADF fd is not a valid file descriptor.
24
25 SENOSHOST Host unknown.
26
27 SENOSSERV Service unknown.
28
29 SETIMEDOUT Timed out.
30
31 SEBADVERSION Version ID mismatch.
32
33 SEINTERNAL Internal error.
34
35 SECONNDROP Connection closed by remote end.
36
37 SECOMERR Communication error.
38
40 rfio_fopen(3)
41
43 LCG Grid Deployment Team
44
45
46
47LCG $Date: 2005/03/31 13:13:02 $ RFIO_FCLOSE(3)