mirror of https://github.com/mkerrisk/man-pages
pthread_getattr_default_np.3: SYNOPSIS: Add missing 'const'
glibc uses 'const' in pthread_setattr_default_np(). Let's use it here too. .../glibc$ grep_glibc_prototype pthread_setattr_default_np sysdeps/nptl/pthread.h:406: extern int pthread_setattr_default_np (const pthread_attr_t *__attr) __THROW __nonnull ((1)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f750ab384c
commit
c20d4d883c
|
@ -32,7 +32,7 @@ get or set default thread-creation attributes
|
|||
.B #include <pthread.h>
|
||||
.PP
|
||||
.BI "int pthread_getattr_default_np(pthread_attr_t *" attr );
|
||||
.BI "int pthread_setattr_default_np(pthread_attr_t *" attr );
|
||||
.BI "int pthread_setattr_default_np(const pthread_attr_t *" attr );
|
||||
.PP
|
||||
Compile and link with \fI\-pthread\fP.
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue