gfal_write(3) - Linux man page

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)