kernels appended "64" to __NR_pread and __NR_pwrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GCC team,
Could you please inform: did the kernels (2.6.x) append "64" to
__NR_pread and __NR_pwrite on Linux ia32?  Is the adding "64" a planned
change? Or maybe a temporal change? Or maybe a bug and it will be fixed?
Thank you very much.

Details:
On machine Linux version 2.6.5-7.111.5lxset2-smp (gcc version 3.3.3
(SuSE Linux))  i686:
> cat /usr/include/bits/syscall.h |grep _pread
#define SYS_pread64 __NR_pread64
> cat /usr/include/bits/syscall.h |grep _pwrite
#define SYS_pwrite64 __NR_pwrite64

On machine Linux version 2.4.21-9.0.1.ELsmp (gcc version 3.2.3 20030502
(Red Hat Linux 3.2.3-26))   i686:
$ cat /usr/include/bits/syscall.h |grep _pread
#define SYS_pread __NR_pread
$ cat /usr/include/bits/syscall.h |grep _pwrite
#define SYS_pwrite __NR_pwrite



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux