]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: New signal and errno string functions are AS-safe
authorFlorian Weimer <fweimer@redhat.com>
Fri, 17 Jul 2020 15:13:59 +0000 (17:13 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 17 Jul 2020 15:14:26 +0000 (17:14 +0200)
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>
manual/errno.texi
manual/signal.texi

index 18343392200598c8cff48a3f4b98fd86f88af335..6ca566522d36c220b3195e6c40d223a75e1e1d6a 100644 (file)
@@ -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
index 4009ff48a49ba7a8a6edc57b8c0ded768ce8d806..c300a3c9df1552e901e73f16f1f48f073f5c0ac1 100644 (file)
@@ -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.