1RFIO_CLOSE(3)               Rfio Library Functions               RFIO_CLOSE(3)
2
3
4

NAME

6       rfio_close - closes a file
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "rfio_api.h"
11
12       int rfio_close (int s);
13

DESCRIPTION

15       rfio_close  closes  the  file whose descriptor s is the one returned by
16       rfio_open.
17

RETURN VALUE

19       This routine returns 0 if successful, -1 if the  operation  failed  and
20       serrno is set appropriately.
21

ERRORS

23       EBADF        s is not a valid file descriptor.
24
25       ENOSPC       File system full when writing last blocks (V3 only).
26
27       SENOSHOST    Host unknown.
28
29       SENOSSERV    Service unknown.
30
31       SETIMEDOUT   Timed out.
32
33       SEBADVERSION Version ID mismatch.
34
35       SEINTERNAL   Internal error.
36
37       SECONNDROP   Connection closed by remote end.
38
39       SECOMERR     Communication error.
40

SEE ALSO

42       rfio_open(3)
43

AUTHOR

45       LCG Grid Deployment Team
46
47
48
49LCG                      $Date: 2005/03/31 13:13:02 $            RFIO_CLOSE(3)
Impressum