.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH SIGVEC 3 2014-02-18 "Linux" "Linux Programmer's Manual"
+.TH SIGVEC 3 2014-12-31 "Linux" "Linux Programmer's Manual"
.SH NAME
sigvec, sigblock, sigsetmask, siggetmask, sigmask \- BSD signal API
.SH SYNOPSIS
.B #include <signal.h>
.sp
-.BI "int sigvec(int " sig ", struct sigvec *" vec ", struct sigvec *" ovec );
+.BI "int sigvec(int " sig ", const struct sigvec *" vec ", struct sigvec *" ovec );
.sp
.BI "int sigmask(int " signum );
.sp
.PP
The
.BR sigmask ()
-function constructs and returns a "signal mask" for
+macro constructs and returns a "signal mask" for
.IR signum .
For example, we can initialize the
.I vec.sv_mask
The
.BR sigmask ()
-function returns the signal mask for
+macro returns the signal mask for
.IR signum .
.SH ERRORS
See the ERRORS under
.BR sigaction (2)
and
.BR sigprocmask (2).
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR sigvec (),
+.BR sigblock (),
+.BR sigsetmask (),
+and
+.BR siggetmask ()
+functions are thread-safe.
+.LP
+The
+.BR sigmask ()
+macro is thread-safe.
+.SH VERSIONS
+Starting with version 2.21, the GNU C library no longer exports the
+.BR sigvec ()
+function as part of the ABI.
+(To ensure backward compatibility,
+the glibc symbol versioning scheme continues to export the interface
+to binaries linked against older versions of the library.)
.SH CONFORMING TO
All of these functions were in
4.3BSD, except
.BR sigpause (3),
.BR sigset (3),
.BR signal (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.