mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 15:30:07 +00:00
e109c6124f
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
10 lines
156 B
C
10 lines
156 B
C
#include <bits/wordsize.h>
|
|
|
|
#if __WORDSIZE == 32
|
|
# define PWRITEV pwritev64
|
|
# define PWRITE __pwrite64
|
|
# define OFF_T off64_t
|
|
|
|
# include "pwritev.c"
|
|
#endif
|