]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-10-07 Andreas Schwab <schwab@suse.de>
authorRoland McGrath <roland@gnu.org>
Thu, 7 Oct 2004 18:43:52 +0000 (18:43 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 7 Oct 2004 18:43:52 +0000 (18:43 +0000)
* misc/sys/uio.h: Change __vector to __iovec to avoid clash with
altivec.

misc/sys/uio.h

index 53add9f2e2c2ca39997c09c7d6252e4f9235ebe7..1b203f71c2ac314a2b2c3a852d49efb0f89cb6d2 100644 (file)
@@ -30,24 +30,24 @@ __BEGIN_DECLS
 
 
 /* Read data from file descriptor FD, and put the result in the
-   buffers described by VECTOR, which is a vector of COUNT `struct iovec's.
+   buffers described by IOVEC, which is a vector of COUNT `struct iovec's.
    The buffers are filled in the order specified.
    Operates just like `read' (see <unistd.h>) except that data are
-   put in VECTOR instead of a contiguous buffer.
+   put in IOVEC instead of a contiguous buffer.
 
    This function is a cancellation point and therefore not marked with
    __THROW.  */
-extern ssize_t readv (int __fd, __const struct iovec *__vector, int __count);
+extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count);
 
-/* Write data pointed by the buffers described by VECTOR, which
+/* Write data pointed by the buffers described by IOVEC, which
    is a vector of COUNT `struct iovec's, to file descriptor FD.
    The data is written in the order specified.
    Operates just like `write' (see <unistd.h>) except that the data
-   are taken from VECTOR instead of a contiguous buffer.
+   are taken from IOVEC instead of a contiguous buffer.
 
    This function is a cancellation point and therefore not marked with
    __THROW.  */
-extern ssize_t writev (int __fd, __const struct iovec *__vector, int __count);
+extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count);
 
 __END_DECLS