summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/readv.c
blob: d9fbfd6bdf2d430b26b0d0d045a8a90b95fabf3d (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: */
/*
 * readv() 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(readv) __libc_readv;

#define __NR___libc_readv __NR_readv
_syscall3(ssize_t, __libc_readv, int, filedes, const struct iovec *, vector,
		  int, count);
weak_alias(__libc_readv,readv)