From 7f3caba522f4d24764f29d83aa2de9198bb7f01c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 24 May 2024 06:52:22 +0200 Subject: Adding upstream version 6.8. Signed-off-by: Daniel Baumann --- man3/gsignal.3 | 118 --------------------------------------------------------- 1 file changed, 118 deletions(-) delete mode 100644 man3/gsignal.3 (limited to 'man3/gsignal.3') diff --git a/man3/gsignal.3 b/man3/gsignal.3 deleted file mode 100644 index 4c41dbd..0000000 --- a/man3/gsignal.3 +++ /dev/null @@ -1,118 +0,0 @@ -'\" t -.\" Copyright (C) 2002 Andries Brouwer -.\" -.\" SPDX-License-Identifier: Linux-man-pages-copyleft -.\" -.\" This replaces an earlier man page written by Walter Harms -.\" . -.TH gsignal 3 2023-10-31 "Linux man-pages 6.7" -.SH NAME -gsignal, ssignal \- software signal facility -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.B #include -.P -.B typedef void (*sighandler_t)(int); -.P -.BI "[[deprecated]] int gsignal(int " signum ); -.P -.BI "[[deprecated]] sighandler_t ssignal(int " signum ", sighandler_t " action ); -.fi -.P -.RS -4 -Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): -.RE -.P -.BR gsignal (), -.BR ssignal (): -.nf - Since glibc 2.19: - _DEFAULT_SOURCE - glibc 2.19 and earlier: - _SVID_SOURCE -.fi -.SH DESCRIPTION -Don't use these functions under Linux. -Due to a historical mistake, under Linux these functions are -aliases for -.BR raise (3) -and -.BR signal (2), -respectively. -.P -Elsewhere, on System V-like systems, these functions implement -software signaling, entirely independent of the classical -.BR signal (2) -and -.BR kill (2) -functions. -The function -.BR ssignal () -defines the action to take when the software signal with -number -.I signum -is raised using the function -.BR gsignal (), -and returns the previous such action or -.BR SIG_DFL . -The function -.BR gsignal () -does the following: if no action (or the action -.BR SIG_DFL ) -was -specified for -.IR signum , -then it does nothing and returns 0. -If the action -.B SIG_IGN -was specified for -.IR signum , -then it does nothing and returns 1. -Otherwise, it resets the action to -.B SIG_DFL -and calls -the action function with argument -.IR signum , -and returns the value returned by that function. -The range of possible values -.I signum -varies (often 1\[en]15 or 1\[en]17). -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.na -.nh -.BR gsignal () -T} Thread safety MT-Safe -T{ -.na -.nh -.BR ssignal () -T} Thread safety MT-Safe sigintr -.TE -.SH STANDARDS -None. -.SH HISTORY -AIX, DG/UX, HP-UX, SCO, Solaris, Tru64. -They are called obsolete under most of these systems, and are -broken under -.\" Linux libc and -glibc. -Some systems also have -.BR gsignal_r () -and -.BR ssignal_r (). -.SH SEE ALSO -.BR kill (2), -.BR signal (2), -.BR raise (3) -- cgit v1.2.3