DOKK / manpages / debian 10 / libdpm-dev / rfio_fclose.3.en
RFIO_FCLOSE(3) Rfio Library Functions RFIO_FCLOSE(3)

rfio_fclose - closes a file

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

int rfio_fclose (FILE *fd);

rfio_fclose closes the file whose descriptor fd is the one returned by rfio_fopen.

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

fd is not a valid file descriptor.
Host unknown.
Service unknown.
Timed out.
Version ID mismatch.
Internal error.
Connection closed by remote end.
Communication error.

rfio_fopen(3)

LCG Grid Deployment Team

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