]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/posix/writev.c
Update.
[thirdparty/glibc.git] / sysdeps / posix / writev.c
index 2f0572f83791e7a8a34d923977db3869fdf77991..f6f685ce7a61b01e35f8061e3386e60362c63aaf 100644 (file)
@@ -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