gettid

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

 



Hello mtk

SYNOPSIS         top
   #define _GNU_SOURCE
   #include <unistd.h>
   #include <sys/types.h>

   pid_t gettid(void);

I can compile on Ubuntu without #define _GNU_SOURCE and call gettid()

Maybe that line can be removed?

https://www.man7.org/linux/man-pages/man2/gettid.2.html

Cheers
Jonny



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux