public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* gettid(2)
@ 2008-03-21 14:34 Sam Varshavchik
       [not found] ` <cone.1206110097.469414.10945.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Varshavchik @ 2008-03-21 14:34 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

gettid() is not defined in my copy of sys/types.h, and it does not appear to 
be a glibc wrapper for it.

The only way to access this syscall, it seems:

#include <sys/types.h>
#include <sys/syscalls.h>

syscall(SYS_gettid);



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-22  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 14:34 gettid(2) Sam Varshavchik
     [not found] ` <cone.1206110097.469414.10945.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
2008-03-22  6:02   ` gettid(2) Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox