#### 36.2.9.5 Thread Names ¶

Function: `int` pthread_setname_np `(pthread_t th, const char *name)` ¶

  Gives thread th the name name. This name shows up in `ps` when it’s listing individual threads. name is a NUL-terminated string of no more than 15 non-NUL characters. This documentation is a stub. For additional information on this function, consult the manual page pthread_setname_np(3) See Linux (The Linux Kernel).

Function: `int` pthread_getname_np `(pthread_t th, char *buf, size_t buflen)` ¶

  Retrieves the name of thread th. This documentation is a stub. For additional information on this function, consult the manual page pthread_getname_np(3) See Linux (The Linux Kernel).