Returns the name attribute for the thread.
#include <pthread.h> int pthread_attr_getname_np ( const pthread_attr_t *attr, char *name size_t len, void **mbz );
(IN) Points to a thread attribute structure.
(OUT) Points to the name of the thread.
(IN) Specifies the length of the name buffer.
(IN) Reserved. Set to 0.
If successful, returns 0; otherwise, returns a nonzero error code.