xref: /openbsd-src/lib/libpthread/man/pthread_sigmask.3 (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1.\" $OpenBSD: pthread_sigmask.3,v 1.3 1999/07/07 10:50:05 aaron Exp $
2.Dd March 21, 1999
3.Dt PTHREAD_SIGMASK 3
4.Os
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 sigprocmask 2 ,
26.Xr pthreads 3
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