diff options
author | Érico Rolim <ericonr@disroot.org> | 2021-04-20 16:15:15 -0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-04-20 15:34:30 -0400 |
commit | bd3b9c4ca5e93f10f7fd891b8c07cc0c5dfd198f (patch) | |
tree | 17a06c1c571c1bce713b6976959cef94110a7965 /include/pthread.h | |
parent | e1a51185ceb4386481491e11f6dd39569b9e54f7 (diff) | |
download | musl-bd3b9c4ca5e93f10f7fd891b8c07cc0c5dfd198f.tar.gz musl-bd3b9c4ca5e93f10f7fd891b8c07cc0c5dfd198f.tar.bz2 musl-bd3b9c4ca5e93f10f7fd891b8c07cc0c5dfd198f.tar.xz musl-bd3b9c4ca5e93f10f7fd891b8c07cc0c5dfd198f.zip |
add pthread_getname_np function
based on the pthread_setname_np implementation
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 0492f26a..89fd9ff7 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -221,6 +221,7 @@ int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); int pthread_getattr_np(pthread_t, pthread_attr_t *); int pthread_setname_np(pthread_t, const char *); +int pthread_getname_np(pthread_t, char *, size_t); int pthread_getattr_default_np(pthread_attr_t *); int pthread_setattr_default_np(const pthread_attr_t *); int pthread_tryjoin_np(pthread_t, void **); |