PTHREAD_ATTR_GETNAME_NP(3)

NAME
pthread_attr_getname_np - set descriptive name of an attribute

LIBRARY
libc

SYNOPSIS
#include <pthread.h>
int
pthread_attr_getname_np(const pthread_attr_t attr, char *name, size_t len);

DESCRIPTION
pthread_attr_getname_np() gets the descriptive name of the attribute. It takes the following arguments.

attr
    The attribute whose descriptive name will be obtained.

name
    The buffer to be filled with the descriptive name of the attribute.

len The size of the buffer name in bytes.

RETURN VALUES
pthread_attr_getname_np() returns 0 on success. Otherwise, pthread_attr_getname_np() returns an error number described in errno(2).

SEE ALSO
errno(2), pthread_attr_setname_np(3)