SIMPLE SOLUTIONS

RFIO_CLOSE(3) - Linux man page online | Library functions

Closes a file.

Chapter
$Date: 2005/03/31 13:13:02 $
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 appro‐ priately.

ERRORS

EBADF s is not a valid file descriptor. ENOSPC File system full when writing last blocks (V3 only). SENOSHOST Host unknown. SENOSSERV Service unknown. SETIMEDOUT Timed out. SEBADVERSION Version ID mismatch. SEINTERNAL Internal error. SECONNDROP Connection closed by remote end. SECOMERR Communication error.

SEE ALSO

rfio_open(3)

AUTHOR

LCG Grid Deployment Team
LCG $Date: 2005/03/31 13:13:02 $ RFIO_CLOSE(3)
This manual Reference Other manuals
rfio_close(3) referred by rfio_open(3) | rfio_open64(3)
refer to rfio_open(3)
Download raw manual
Index Rfio Library Functions (+60) LCG (+140) № 3 (+68044)
Go top