mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
bb8e0116cd
2000-04-14 Ulrich Drepper <drepper@redhat.com> * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. Make old name weak alias. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. Make old name weak alias. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * sysdeps/generic/fadvise.c: New file. * sysdeps/generic/fadvise64.c: New file. * sysdeps/generic/fallocate.c: New file. * sysdeps/generic/fallocate64.c: New file. * sysdeps/posix/fallocate.c: New file. * sysdeps/posix/fallocate64.c: New file. * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. * sysdeps/mach/hurd/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
99 lines
1.5 KiB
Plaintext
99 lines
1.5 KiB
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# functions which have an additional interface since they are
|
|
# are cancelable.
|
|
__libc_open; __libc_close; __libc_read; __libc_write;
|
|
__libc_lseek; __libc_fcntl;
|
|
|
|
# functions used in inline functions or macros
|
|
__xstat; __fxstat; __lxstat; __xmknod; __write; __close; __fcntl;
|
|
__lseek; __open; __read;
|
|
|
|
# functions used by libstdc++ 2.7.2
|
|
__dup2; __pipe;
|
|
|
|
# a*
|
|
access;
|
|
|
|
# c*
|
|
chdir; chmod; chown; close; creat;
|
|
|
|
# d*
|
|
dup; dup2;
|
|
|
|
# e*
|
|
euidaccess;
|
|
|
|
# f*
|
|
fchdir; fchmod; fchown; fcntl; flock; fstatfs; fts_children; fts_close;
|
|
fts_open; fts_read; fts_set; ftw;
|
|
|
|
# g*
|
|
get_current_dir_name; getcwd; getwd;
|
|
|
|
# i*
|
|
isatty;
|
|
|
|
# l*
|
|
lchown; link; lockf; lseek;
|
|
|
|
# m*
|
|
mkdir; mkfifo;
|
|
|
|
# o*
|
|
open;
|
|
|
|
# p*
|
|
pipe; poll;
|
|
|
|
# r*
|
|
read; readlink; rmdir;
|
|
|
|
# s*
|
|
statfs; symlink;
|
|
|
|
# t*
|
|
ttyname; ttyname_r;
|
|
|
|
# u*
|
|
umask; unlink; utime;
|
|
|
|
# w*
|
|
write;
|
|
}
|
|
GLIBC_2.1 {
|
|
# functions used in other libraries
|
|
__xstat64; __fxstat64; __lxstat64; __poll;
|
|
|
|
# c*
|
|
creat64;
|
|
|
|
# f*
|
|
fstatfs64; fstatvfs; fstatvfs64; ftw64;
|
|
|
|
# l*
|
|
lockf64; lseek64;
|
|
|
|
# n*
|
|
nftw; nftw64;
|
|
|
|
# o*
|
|
open64;
|
|
|
|
# s*
|
|
statfs64; statvfs; statvfs64;
|
|
}
|
|
GLIBC_2.1.1 {
|
|
# l*
|
|
lockf64;
|
|
}
|
|
GLIBC_2.1.3 {
|
|
# For the cancelation wrappers.
|
|
__libc_open64; __libc_lseek64;
|
|
}
|
|
GLIBC_2.2 {
|
|
# p*
|
|
posix_fadvise; posix_fadvise64; posix_fallocate; posix_fallocate64;
|
|
}
|
|
}
|