gfal_read(3) - Linux man page
Name
gfal_read - read from a fileSynopsis
#include "gfal_api.h"int gfal_read (intfd, void *buf, size_t size);
Description
gfal_read reads up to size bytes from the file descriptor fd into the buffer pointed by buf.Return Value
This routine returns the number of bytes actually read 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.