On Tue, Apr 03, 2007 at 11:34:31PM -0400, Alfred von Campe wrote:
Looks like the _syscall[0-6] macros no longer exist in RHEL 5/CentOS 5. So, what does that mean if you want to use something like gettid () that requires it (or something equivalent)?
_syscall* is deprecated, syscall(2) is the real thing now.
The following man pages reference _syscall[0-6] on a CentOS 4.4 system (I don't have access to a CentOS 5 beta system from home, but I'll be checking it tomorrow):
My man gettid: _syscall0(pid_t, gettid) /* Using syscall(2) may be preferable; see intro(2) */
So they do reference syscall(2).