mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-13 12:40:08 +00:00
(__readv): Rename to __libc_readv and make old name an alias.
This commit is contained in:
parent
d78045b1a2
commit
ce9fa295f0
@ -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 kreadv (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
|
||||
__readv (fd, vector, count)
|
||||
__libc_readv (fd, vector, count)
|
||||
int fd;
|
||||
const struct iovec *vector;
|
||||
int count;
|
||||
{
|
||||
return kreadv (fd, vector, count, 0);
|
||||
}
|
||||
strong_alias (__readv, readv)
|
||||
strong_alias (__libc_readv, __readv)
|
||||
weak_alias (__libc_readv, readv)
|
||||
|
Loading…
Reference in New Issue
Block a user