1.\" $OpenBSD: pthread_sigmask.3,v 1.1 1999/03/22 04:12:57 d Exp $ 2.Dd March 21, 1999 3.Os 4.Dt PTHREAD_SIGMASK 3 5.Sh NAME 6.Nm pthread_sigmask 7.Nd manipulate the current thread's signal mask 8.Sh SYNOPSIS 9.Fd #include <pthread.h> 10.Fd #include <signal.h> 11.Ft int 12.Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" 13.Sh DESCRIPTION 14The 15.Fn pthread_sigmask 16function is identical to 17.Xr sigprocmask 2 , 18except that it only affects the signal mask of the calling thread. 19.Sh RETURN VALUES 20The return values of 21.Fn pthread_sigmask 22are the same as 23.Xr sigprocmask 2 . 24.Sh SEE ALSO 25.Xr pthreads 3 , 26.Xr sigprocmask 2 . 27.Sh STANDARDS 28.Fn pthread_sigmask 29conforms to ISO/IEC 9945-1 ANSI/IEEE 30.Pq Dq Tn POSIX 31Std 1003.1 Second Edition 1996-07-12. 32