aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man7/signal-safety.710
1 files changed, 9 insertions, 1 deletions
diff --git a/man7/signal-safety.7 b/man7/signal-safety.7
index a70251f1b0..f70eb814fd 100644
--- a/man7/signal-safety.7
+++ b/man7/signal-safety.7
@@ -285,7 +285,7 @@ Function Notes
\fBwmemset\fP(3) Added in POSIX.1-2008 TC2
\fBwrite\fP(2)
.TE
-.sp 1
+.PP
Notes:
.IP * 3
POSIX.1-2001 and POSIX.1-2001 TC2 required the functions
@@ -320,6 +320,14 @@ Asynchronous signal handlers that call functions which are cancellation
points and nest over regions of deferred cancellation may trigger
cancellation whose behavior is as if asynchronous cancellation had
occurred and may cause application state to become inconsistent.
+.\"
+.SS errno
+Fetching and setting the value of
+.I errno
+is async-signal-safe provided that the signal handler saves
+.I errno
+on entry and restores its value before returning.
+.\"
.SS Deviations in the GNU C library
The following known deviations from the standard occur in
the GNU C library: