Scroll to navigation

RFIO_CLOSE(3) Rfio Library Functions RFIO_CLOSE(3)

NAME

rfio_close - closes a file

SYNOPSIS

#include <sys/types.h>
#include "rfio_api.h"

int rfio_close (int s);

DESCRIPTION

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

RETURN VALUE

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

ERRORS

s is not a valid file descriptor.
File system full when writing last blocks (V3 only).
Host unknown.
Service unknown.
Timed out.
Version ID mismatch.
Internal error.
Connection closed by remote end.
Communication error.

SEE ALSO

rfio_open(3)

AUTHOR

LCG Grid Deployment Team

$Date: 2005/03/31 13:13:02 $ LCG