.\" -*- coding: UTF-8 -*-
'\" t
.\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl)
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH sigpause 3 "16 Junio 2024" "Páginas de Manual de Linux 6.9.1" 
.SH NOMBRE
sigpause \- libera atómicamente señales bloqueadas y espera interrupción
.SH BIBLIOTECA
Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP)
.SH SINOPSIS
.nf
\fB#include <signal.h>\fP
.P
\fB[[deprecated]] int sigpause(int \fP\fIsigmask\fP\fB);  /* BSD (but see VERSIONS) */\fP
.P
\fB[[deprecated]] int sigpause(int \fP\fIsig\fP\fB);      /* POSIX.1 / SysV / UNIX 95 */\fP
.fi
.SH DESCRIPCIÓN
No utilice esta función. Use \fBsigsuspend\fP(2) en su lugar.
.P
The function \fBsigpause\fP()  is designed to wait for some signal.  It changes
the process's signal mask (set of blocked signals), and then waits for a
signal to arrive.  Upon arrival of a signal, the original signal mask is
restored.
.SH "VALOR DEVUELTO"
If \fBsigpause\fP()  returns, it was interrupted by a signal and the return
value is \-1 with \fIerrno\fP set to \fBEINTR\fP.
.SH ATRIBUTOS
Para obtener una explicación de los términos usados en esta sección, véase
\fBattributes\fP(7).
.TS
allbox;
lbx lb lb
l l l.
Interfaz	Atributo	Valor
T{
.na
.nh
\fBsigpause\fP()
T}	Seguridad del hilo	Multi\-hilo seguro
.TE
.\" FIXME: The marking is different from that in the glibc manual,
.\" marking in glibc manual is more detailed:
.\"
.\" sigpause: MT-Unsafe race:sigprocmask/!bsd!linux
.\"
.\" glibc manual says /!linux!bsd indicate the preceding marker only applies
.\" when the underlying kernel is neither Linux nor a BSD kernel.
.\" So, it is safe in Linux kernel.
.SH VERSIONES
En Linux, esta rutina es una llamada al sistema exclusiva de la arquitectura
Sparc (sparc64).
.P
.\" Libc4 and libc5 know only about the BSD version.
.\"
glibc uses the BSD version if the \fB_BSD_SOURCE\fP feature test macro is
defined and none of \fB_POSIX_SOURCE\fP, \fB_POSIX_C_SOURCE\fP, \fB_XOPEN_SOURCE\fP,
\fB_GNU_SOURCE\fP, or \fB_SVID_SOURCE\fP is defined.  Otherwise, the System V
version is used, and feature test macros must be defined as follows to
obtain the declaration:
.IP \[bu] 3
.\" || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
Desde glibc 2.26: _XOPEN_SOURCE >= 500
.IP \[bu]
glibc 2.25 y anteriores: _XOPEN_SOURCE
.P
.\"
.\" For the BSD version, one usually uses a zero
.\" .I sigmask
.\" to indicate that no signals are to be blocked.
Since glibc 2.19, only the System V version is exposed by
\fI<signal.h>\fP; applications that formerly used the BSD \fBsigpause\fP()
should be amended to use \fBsigsuspend\fP(2).
.SH ESTÁNDARES
POSIX.1\-2008.
.SH HISTORIAL
POSIX.1\-2001.  Obsoleted in POSIX.1\-2008.
.P
.\" __xpg_sigpause: UNIX 95, spec 1170, SVID, SVr4, XPG
The classical BSD version of this function appeared in 4.2BSD.  It sets the
process's signal mask to \fIsigmask\fP.  UNIX 95 standardized the incompatible
System V version of this function, which removes only the specified signal
\fIsig\fP from the process's signal mask.  The unfortunate situation with two
incompatible functions with the same name was solved by the
\fB\%sigsuspend\fP(2)  function, that takes a \fIsigset_t\ *\fP argument (instead
of an \fIint\fP).
.SH "VÉASE TAMBIÉN"
\fBkill\fP(2), \fBsigaction\fP(2), \fBsigprocmask\fP(2), \fBsigsuspend\fP(2),
\fBsigblock\fP(3), \fBsigvec\fP(3), \fBfeature_test_macros\fP(7)
.PP
.SH TRADUCCIÓN
La traducción al español de esta página del manual fue creada por
Gerardo Aburruzaga García <gerardo.aburruzaga@uca.es>
y
Marcos Fouces <marcos@debian.org>
.
.PP
Esta traducción es documentación libre; lea la
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License Version 3
.UE
o posterior con respecto a las condiciones de copyright.
No existe NINGUNA RESPONSABILIDAD.
.PP
Si encuentra algún error en la traducción de esta página del manual, envíe un
correo electrónico a
.MT debian-l10n-spanish@lists.debian.org
.ME .