summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/writev.c
blob: c393beec1eca9f6a4015da6e63a278b994e472ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* vi: set sw=4 ts=4: */
/*
 * writev() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

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

extern __typeof(writev) __libc_writev;

#define __NR___libc_writev __NR_writev
_syscall3(ssize_t, __libc_writev, int, filedes, const struct iovec *, vector,
		  int, count)
weak_alias(__libc_writev,writev)