mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 07:41:05 +00:00
(__writev): Rename to __libc_writev and make old name an alias.
This commit is contained in:
parent
c45957343f
commit
402dbb2e81
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user