writev.c:

Changed return type of writev from size_t to ssize_t.
This commit is contained in:
gdr-ftp 1999-02-08 06:18:59 +00:00
parent 135cfc6169
commit 765f0298d7
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
/* MAJOR HACK ALERT! This won't work right for packet based sockets! */
size_t writev(int fd, struct iovec *iov, int iovcnt)
ssize_t writev(int fd, struct iovec *iov, int iovcnt)
{
int i;
size_t size, total_size = 0;