aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/writev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/writev.c')
-rw-r--r--sysdeps/posix/writev.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/posix/writev.c b/sysdeps/posix/writev.c
index 2f0572f..f6f685c 100644
--- a/sysdeps/posix/writev.c
+++ b/sysdeps/posix/writev.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@
Operates just like `write' (see <unistd.h>) except that the data
are taken from VECTOR instead of a contiguous buffer. */
ssize_t
-writev (fd, vector, count)
+__writev (fd, vector, count)
int fd;
const struct iovec *vector;
int count;
@@ -61,5 +61,8 @@ writev (fd, vector, count)
break;
}
- return write (fd, buffer, bytes);
+ return __write (fd, buffer, bytes);
}
+#ifndef __writev
+weak_alias (__writev, writev)
+#endif