public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] manual: New signal and errno string functions are AS-safe
@ 2020-07-17 15:14 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-07-17 15:14 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e9422236a2dd4cf2b7e900af5e84706da68bd43e

commit e9422236a2dd4cf2b7e900af5e84706da68bd43e
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Jul 17 17:13:59 2020 +0200

    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>

Diff:
---
 manual/errno.texi  | 4 ++--
 manual/signal.texi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/manual/errno.texi b/manual/errno.texi
index 1834339220..6ca566522d 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 4009ff48a4..c300a3c9df 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-17 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 15:14 [glibc] manual: New signal and errno string functions are AS-safe Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).