.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (c) 1994 Mike Battersby .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified by aeb, 960721 .\" 2005-11-21, mtk, added descriptions of sigisemptyset(), sigandset(), .\" and sigorset() .\" 2007-10-26 mdw added wording that a sigset_t must be initialized .\" prior to use .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH SIGSETOPS 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE sigemptyset, sigfillset, sigaddset, sigdelset, sigismember \- operaciones POSIX con conjuntos de señales .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBint sigemptyset(sigset_t *\fP\fIconjunto\fP\fB);\fP \fBint sigfillset(sigset_t *\fP\fIconjunto\fP\fB);\fP .PP \fBint sigaddset(sigset_t *\fP\fIconjunto\fP\fB, int \fP\fInumse\fP\fB);\fP \fBint sigdelset(sigset_t *\fP\fIconjunto\fP\fB, int \fP\fInumse\fP\fB);\fP .PP \fBint sigismember(const sigset_t *\fP\fIconjunto\fP\fB, int \fP\fInumse\fP\fB);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBsigemptyset\fP(), \fBsigfillset\fP(), \fBsigaddset\fP(), \fBsigdelset\fP(), \fBsigismember\fP(): .nf _POSIX_C_SOURCE .fi .SH DESCRIPCIÓN Estas funciones permiten la manipulación de conjuntos de señales POSIX. .PP \fBsigemptyset\fP() inicia el conjunto de señales dado por \fIconjunto\fP al conjunto vacío, con todas las señales fuera del conjunto. .PP \fBsigfillset\fP() inicia \fIconjunto\fP al conjunto completo, con todas las señales incluidas en el conjunto. .PP \fBsigaddset\fP() y \fBsigdelset\fP() añaden y quitan respectivamente la señal \fInumse\fP de \fIconjunto\fP. .PP \fBsigismember\fP() mira a ver si \fInumse\fP pertenece a \fIconjunto\fP. .PP Objects of type \fIsigset_t\fP must be initialized by a call to either \fBsigemptyset\fP() or \fBsigfillset\fP() before being passed to the functions \fBsigaddset\fP(), \fBsigdelset\fP(), and \fBsigismember\fP() or the additional glibc functions described below (\fBsigisemptyset\fP(), \fBsigandset\fP(), and \fBsigorset\fP()). The results are undefined if this is not done. .SH "VALOR DEVUELTO" \fBsigemptyset\fP(), \fBsigfillset\fP(), \fBsigaddset\fP() y \fBsigdelset\fP() devuelven 0 si acaban bien y \-1 en caso de error. .PP \fBsigismember\fP() devuelve 1 si \fInumse\fP es un miembro de \fIconjunto\fP, 0 si \fInumse\fP no lo es, y \-1 en caso de error. .PP En caso de error, estas funciones definen \fIerrno\fP según éste. .SH ERRORES .TP \fBEINVAL\fP \fIsignum\fP no es una señal válida. .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 \fBsigemptyset\fP(), \fBsigfillset\fP(), \fBsigaddset\fP(), \fBsigdelset\fP(), \fBsigismember\fP(), \fBsigisemptyset\fP(), \fBsigorset\fP(), \fBsigandset\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH VERSIONES .SS GNU If the \fB_GNU_SOURCE\fP feature test macro is defined, then \fI\fP exposes three other functions for manipulating signal sets: .PP .nf \fBint sigisemptyset(const sigset_t *\fP\fIset\fP\fB);\fP \fBint sigorset(sigset_t *\fP\fIdest\fP\fB, const sigset_t *\fP\fIleft\fP\fB,\fP \fB const sigset_t *\fP\fIright\fP\fB);\fP \fBint sigandset(sigset_t *\fP\fIdest\fP\fB, const sigset_t *\fP\fIleft\fP\fB,\fP \fB const sigset_t *\fP\fIright\fP\fB);\fP .fi .PP \fBsigisemptyset\fP() returns 1 if \fIset\fP contains no signals, and 0 otherwise. .PP \fBsigorset\fP() places the union of the sets \fIleft\fP and \fIright\fP in \fIdest\fP. \fBsigandset\fP() places the intersection of the sets \fIleft\fP and \fIright\fP in \fIdest\fP. Both functions return 0 on success, and \-1 on failure. .PP These functions are nonstandard (a few other systems provide similar functions) and their use should be avoided in portable applications. .SH ESTÁNDARES POSIX.1\-2008. .SH HISTORIAL POSIX.1\-2001. .SH NOTAS When creating a filled signal set, the glibc \fBsigfillset\fP() function does not include the two real\-time signals used internally by the NPTL threading implementation. See \fBnptl\fP(7) for details. .SH "VÉASE TAMBIÉN" \fBsigaction\fP(2), \fBsigpending\fP(2), \fBsigprocmask\fP(2), \fBsigsuspend\fP(2) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García y Marcos Fouces . .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 .