aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-17 17:13:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-17 17:14:26 +0200
commite9422236a2dd4cf2b7e900af5e84706da68bd43e (patch)
tree524f16f7674c22bdf8595235e7328695fc5c33a1 /manual
parentf46ef33ad134bec7ac992f28ee4b8b0614590e3e (diff)
downloadglibc-e9422236a2dd4cf2b7e900af5e84706da68bd43e.tar.gz
glibc-e9422236a2dd4cf2b7e900af5e84706da68bd43e.tar.xz
glibc-e9422236a2dd4cf2b7e900af5e84706da68bd43e.zip
manual: New signal and errno string functions are AS-safe
The annotations for sigabbrev_np, sigdescr_np, strerrordesc_np, strerrorname_np are not preliminary. These functions were added precisely because they are AS-safe. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'manual')
-rw-r--r--manual/errno.texi4
-rw-r--r--manual/signal.texi4
2 files changed, 4 insertions, 4 deletions
diff --git a/manual/errno.texi b/manual/errno.texi
index 18343392200..6ca566522d3 100644
--- a/manual/errno.texi
+++ b/manual/errno.texi
@@ -1209,7 +1209,7 @@ The function @code{perror} is declared in @file{stdio.h}.
@deftypefun void strerrorname_np (int @var{errnum})
@standards{GNU, string.h}
-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the name describing the error @var{errnum} or
@code{NULL} if there is no known constant with this value (e.g "EINVAL"
for @code{EINVAL}).
@@ -1220,7 +1220,7 @@ This function is a GNU extension, declared in the header file @file{string.h}.
@deftypefun void strerrordesc_np (int @var{errnum})
@standards{GNU, string.h}
-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the message describing the error @var{errnum} or
@code{NULL} if there is no known constant with this value (e.g "Invalid
argument" for @code{EINVAL}). Different than @code{strerror} the returned
diff --git a/manual/signal.texi b/manual/signal.texi
index 4009ff48a49..c300a3c9df1 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -882,7 +882,7 @@ This function is a BSD feature, declared in the header file @file{signal.h}.
@deftypefun void sigdescr_np (int @var{signum})
@standards{GNU, string.h}
-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the message describing the signal @var{signum} or
@code{NULL} for invalid signal number (e.g "Hangup" for @code{SIGHUP}).
Different than @code{strsignal} the returned description is not translated.
@@ -895,7 +895,7 @@ This function is a GNU extension, declared in the header file @file{string.h}.
@deftypefun void sigabbrev_np (int @var{signum})
@standards{GNU, string.h}
-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the abbreviation describing the signal @var{signum} or
@code{NULL} for invalid signal number. The message points to a static
storage whose lifetime is the whole lifetime of the program.