gfal_close(3) - Linux man page
Name
gfal_close - close a fileSynopsis
#include "gfal_api.h"int gfal_close (int fd);
Description
gfal_close closes the file whose descriptor fd is the one returned by gfal_open.Return Value
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, errno is set appropriately.Errors
- EBADF
- fd is not a valid file descriptor.
- ECOMM
- Communication error.
- EPROTONOSUPPORT
- Access method not supported.