blob: dc5bfab20ba822b4deffb8699e0cebb8b174320c (
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.2 1999/05/16 19:55:46 alex Exp $
.Dd March 21, 1999
.Os
.Dt PTHREAD_SIGMASK 3
.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.
|