Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Appendix A Function Prototypes 893


ssize_t write(intfd,const void *buf,size_tnbytes);
<unistd.h> p. 72
Returns: number of bytes written if OK,−1 on error

ssize_t writev(intfd,const struct iovec *iov,intiovcnt);
<sys/uio.h> p. 521
Returns: number of bytes written if OK,−1 on error
Free download pdf