.\" $OpenBSD: pthread_sigmask.3,v 1.3 1999/07/07 10:50:05 aaron Exp $ .Dd March 21, 1999 .Dt PTHREAD_SIGMASK 3 .Os .Sh NAME .Nm pthread_sigmask .Nd manipulate the current thread's signal mask .Sh SYNOPSIS .Fd #include .Fd #include .Ft int .Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" .Sh DESCRIPTION The .Fn pthread_sigmask function is identical to .Xr sigprocmask 2 , except that it only affects the signal mask of the calling thread. .Sh RETURN VALUES The return values of .Fn pthread_sigmask are the same as .Xr sigprocmask 2 . .Sh SEE ALSO .Xr sigprocmask 2 , .Xr pthreads 3 .Sh STANDARDS .Fn pthread_sigmask conforms to ISO/IEC 9945-1 ANSI/IEEE .Pq Dq Tn POSIX Std 1003.1 Second Edition 1996-07-12.