mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-13 01:29:43 +00:00
writev.c:
Changed return type of writev from size_t to ssize_t.
This commit is contained in:
parent
135cfc6169
commit
765f0298d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user