From: Alejandro Colomar Date: Mon, 11 Oct 2021 11:04:02 +0000 (+0200) Subject: timegm.3: Remove recommendation against their use X-Git-Tag: man-pages-5.19-rc1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd17331558a012324ff52b834de2b037fa69c82c;p=thirdparty%2Fman-pages.git timegm.3: Remove recommendation against their use It was straight after a note that they are nonstandard functions, which already tells the user that if portability is in mind, they shouldn't be used, so this recommendation adds nothing in that sense. Also, there's a note that timelocal() should _never_ be used, due to mktime() being identical and in the POSIX standard (it is also in C99), so this note would also add nothing in that sense. So the only uses not covered by those other notes are non-portable uses of timegm(3). In that scenario, it is an excellent function. Cc: Paul Eggert Signed-off-by: Alejandro Colomar --- diff --git a/man3/timegm.3 b/man3/timegm.3 index d1a8fe3151..b4a362afe8 100644 --- a/man3/timegm.3 +++ b/man3/timegm.3 @@ -80,7 +80,6 @@ T} Thread safety MT-Safe env locale .SH CONFORMING TO These functions are nonstandard GNU extensions that are also present on the BSDs. -Avoid their use. .SH NOTES The .BR timelocal ()