(__writev): Rename to __libc_writev and make old name an alias.

This commit is contained in:
Ulrich Drepper 2002-10-09 09:35:00 +00:00
parent c45957343f
commit 402dbb2e81

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1995-1998, 2000 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1995-1998, 2000, 2002 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,11 +27,12 @@ extern ssize_t kwritev (int fd, const struct iovec *iovp, size_t iovcnt,
Operates just like `read' (see <unistd.h>) except that data are
put in VECTOR instead of a contiguous buffer. */
ssize_t
__writev (fd, vector, count)
__libc_writev (fd, vector, count)
int fd;
const struct iovec *vector;
int count;
{
return kwritev (fd, vector, count, 0);
}
strong_alias (__writev, writev)
strong_alias (__libc_writev, __writev)
weak_alias (__libc_writev, writev)