Content-type: text/html Manpage of GFAL_WRITE

GFAL_WRITE

Section: Library Functions (3)
Updated: 2003/11/19 12:56:29
Index Return to Main Contents
 

NAME

gfal_write - write to a file  

SYNOPSIS

#include "gfal_api.h"

int gfal_write (intfd, void *buf, size_t size);  

DESCRIPTION

gfal_write writes size bytes from the buffer pointed by buf to the file descriptor fd.  

RETURN VALUE

This routine returns the number of bytes actually written 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.
ENOSPC
No space left on device.
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