Provided by: manpages-es-dev_4.13-4_all bug

NOMBRE

       sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - operaciones POSIX con conjuntos de señales

SINOPSIS

       #include <signal.h>

       int sigemptyset(sigset_t *conjunto);

       int sigfillset(sigset_t *conjunto);

       int sigaddset(sigset_t *conjunto, int numse);

       int sigdelset(sigset_t *conjunto, int numse);

       int sigismember(const sigset_t *conjunto, int numse);

   Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros(7)):

       sigemptyset(), sigfillset(), sigaddset(), sigdelset(), sigismember():
           _POSIX_C_SOURCE

DESCRIPCIÓN

       These functions allow the manipulation of POSIX signal sets.

       sigemptyset()  inicia  el  conjunto de señales dado por conjunto al conjunto vacío, con todas las señales
       fuera del conjunto.

       sigfillset() inicia conjunto al conjunto completo, con todas las señales incluidas en el conjunto.

       sigaddset() y sigdelset() añaden y quitan respectivamente la señal numse de conjunto.

       sigismember() mira a ver si numse pertenece a conjunto.

       Objects of type sigset_t must be initialized by a call to either sigemptyset()  or  sigfillset()   before
       being  passed  to  the  functions  sigaddset(),  sigdelset(),  and sigismember()  or the additional glibc
       functions described below (sigisemptyset(), sigandset(), and sigorset()).  The results are  undefined  if
       this is not done.

VALOR DEVUELTO

       sigemptyset(), sigfillset(), sigaddset() y sigdelset() devuelven 0 si acaban bien y -1 en caso de error.

       sigismember() devuelve 1 si numse es un miembro de conjunto, 0 si numse no lo es, y -1 en caso de error.

       On error, these functions set errno to indicate the cause of the error.

ERRORES

       EINVAL signum no es una señal válida.

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).
       ┌─────────────────────────────────┬────────────────────┬───────────────────┐
       │ InterfazAtributoValor             │
       ├─────────────────────────────────┼────────────────────┼───────────────────┤
       │ sigemptyset(), sigfillset(),    │ Seguridad del hilo │ Multi-hilo seguro │
       │ sigaddset(), sigdelset(),       │                    │                   │
       │ sigismember(), sigisemptyset(), │                    │                   │
       │ sigorset(), sigandset()         │                    │                   │
       └─────────────────────────────────┴────────────────────┴───────────────────┘

CONFORME A

       POSIX.1-2001, POSIX.1-2008.

NOTAS

       When  creating  a  filled signal set, the glibc sigfillset()  function does not include the two real-time
       signals used internally by the NPTL threading implementation.  See nptl(7)  for details.

   Glibc extensions
       If the _GNU_SOURCE feature test macro is defined, then  <signal.h>  exposes  three  other  functions  for
       manipulating signal sets:

       int sigisemptyset(const sigset_t *set);
       int sigorset(sigset_t *dest, const sigset_t *left,
                     const sigset_t *right);
       int sigandset(sigset_t *dest, const sigset_t *left,
                     const sigset_t *right);

       sigisemptyset()  returns 1 if set contains no signals, and 0 otherwise.

       sigorset()  places the union of the sets left and right in dest.  sigandset()  places the intersection of
       the sets left and right in dest.  Both functions return 0 on success, and -1 on failure.

       These  functions  are nonstandard (a few other systems provide similar functions) and their use should be
       avoided in portable applications.

VÉASE TAMBIÉN

       sigaction(2), sigpending(2), sigprocmask(2), sigsuspend(2)

COLOFÓN

       Esta página es parte de la versión 5.10 del proyecto Linux man-pages. Puede encontrar una descripción del
       proyecto,  información  sobre  cómo  informar  errores  y  la  última   versión   de   esta   página   en
       https://www.kernel.org/doc/man-pages/.

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>

       Esta traducción es documentación libre;  lea  la  GNU General Public License Version 3  o  posterior  con
       respecto a las condiciones de copyright.  No existe NINGUNA RESPONSABILIDAD.

       Si  encuentra  algún  error  en  la  traducción  de esta página del manual, envíe un correo electrónico a
       debian-l10n-spanish@lists.debian.org.

Linux                                           21 Diciembre 2020                                   SIGSETOPS(3)