about summary refs log tree commit diff
path: root/manual/signal.texi
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-25 18:32:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-25 18:32:28 +0200
commit02802fafcf6e11ea3f998f685035ffe568dfddeb (patch)
tree2db187fc4bd2ef24a0c70c573b278a5e7ece62e5 /manual/signal.texi
parentde42613540de8d3d70b5f14a14923cab7bd694d0 (diff)
downloadglibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.tar.gz
glibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.tar.xz
glibc-02802fafcf6e11ea3f998f685035ffe568dfddeb.zip
signal: Deprecate additional legacy signal handling functions
This needs a few test adjustments: In some cases, sigignore was
used for convenience (replaced with xsignal with SIG_IGN).  Tests
for the deprecated functions need to disable
-Wdeprecated-declarations, and for the sigmask deprecation,
-Wno-error.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual/signal.texi')
-rw-r--r--manual/signal.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/signal.texi b/manual/signal.texi
index 33e6646975..911b422a18 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -3250,6 +3250,9 @@ are interrupted by handling signal @var{signum}.  If @var{failflag} is
 false, signal @var{signum} restarts primitives.  If @var{failflag} is
 true, handling @var{signum} causes these primitives to fail with error
 code @code{EINTR}.  @xref{Interrupted Primitives}.
+
+This function has been replaced by the @code{SA_RESTART} flag of the
+@code{sigaction} function.  @xref{Advanced Signal Handling}.
 @end deftypefun
 
 @deftypefn Macro int sigmask (int @var{signum})
@@ -3267,6 +3270,9 @@ together to specify more than one signal.  For example,
 
 @noindent
 specifies a mask that includes all the job-control stop signals.
+
+This macro has been replaced by the @code{sigset_t} type and the
+associated signal set manipulation functions.  @xref{Signal Sets}.
 @end deftypefn
 
 @deftypefun int sigblock (int @var{mask})