Content-type: text/html
Manpage of GFAL_READ
GFAL_READ
Section: Library Functions (3)
Updated: 2003/11/19 12:56:29
Index
Return to Main Contents
NAME
gfal_read - read from a file
SYNOPSIS
#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.
SEE ALSO
gfal(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ERRORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:34:06 GMT, January 20, 2004