Content-type: text/html Man page of GFAL_READ

GFAL_READ

Section: Library Functions (3)
Updated: $Date: 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: 14:16:32 GMT, July 14, 2009