table of contents
other versions
IXP_WRITE(3) | Library Functions Manual | IXP_WRITE(3) |
NAME¶
ixp_write, ixp_pwrite
SYNOPSIS¶
#include <ixp.h> long ixp_write(IxpCFid *fid, const void *buf, long count); long ixp_pwrite(IxpCFid *fid, const void *buf, long count, int64_t offset);
PARAMETERS¶
DESCRIPTION¶
ixp_write and ixp_pwrite each write count bytes of data stored in buf to the file pointed to by C<fid>. ixp_write writes its data at its stored offset, and increments it by count. ixp_pwrite writes its data a offset and does not alter C<fid>'s stored offset.
RETURN VALUE¶
These functions return the number of bytes actually written. Any value less than count must be considered a failure.
SEE ALSO¶
ixp_mount(3), ixp_open(3), ixp_read(3)
2012 Dec | libixp Manual |