blob: e3bc625974fb17861711460f5b11e73a2f835368 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.\" $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 <pthread.h>
.Fd #include <signal.h>
.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.
|