From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Varshavchik Subject: gettid(2) Date: Fri, 21 Mar 2008 10:34:57 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_mimegpg-commodore.email-scan.com-10945-1206110097-0001"; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Michael Kerrisk Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-10945-1206110097-0001 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 #include syscall(SYS_gettid); --=_mimegpg-commodore.email-scan.com-10945-1206110097-0001 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBH48eRx9p3GYHlUOIRAsqSAJ425KiLcek9h5oau0OuaZskgHnS3wCfRL1j iyoyqj3xJslTGp1p5u0wXqI= =OAsY -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-10945-1206110097-0001-- -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html