The gettid(2) function requires the _GNU_SOURCE feature test macro, but its man page doesn't mention this. Also, it comes from unistd.h, but its man page only mentions sys/types.h. Joseph C. Sible
The gettid(2) function requires the _GNU_SOURCE feature test macro, but its man page doesn't mention this. Also, it comes from unistd.h, but its man page only mentions sys/types.h. Joseph C. Sible