10.33.3 pthread_attr_getdetachstate

POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_attr_getdetachstate.html

Gnulib module: pthread-thread

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib: