summaryrefslogblamecommitdiff
path: root/src/unistd/writev.c
blob: a45afeb757af56b1ac21c10e901bb47e656d65b4 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                          
                                                


                     
#include <sys/uio.h>
#include "syscall.h"
#include "libc.h"

ssize_t writev(int fd, const struct iovec *iov, int count)
{
	ssize_t r;
	CANCELPT_BEGIN;
	r = syscall(SYS_writev, fd, iov, count);
	CANCELPT_END;
	return r;
}