#include <unistd.h> int write( int fildes, const void *buf, unsigned int nbytes );
The write()
function writes nbyte
from the array pointed
to by buf
into the file associated with fildes
.
If nybte
is zero and the file is a regular file, the write()
function returns zero and has no other effect. If nbyte
is zero
and the file is a special file, te results are not portable.
The write()
function returns the number of bytes written. This
number will be less than nbytes
if there is an error. It will never
be greater than nbytes
.
NONE
Copyright © 1988-2007OAR Corporation