diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-10-28 23:54:16 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-10-28 23:58:21 +0100 |
| commit | 5fa8cf151aaf9fc5141690ba6743f29fc799f13e (patch) | |
| tree | e94dcdf825fa0c39310d1a5492a1f2387e501dd7 | |
| parent | cef39ff51bfd016d7079baefbf2a39f0fed7549b (diff) | |
| download | man-pages-5fa8cf151aaf9fc5141690ba6743f29fc799f13e.tar.gz | |
man/man3/[umax]abs.3: Document umaxabs(3)
Rename uimaxabs(3) => umaxabs(3). And add a link page.
Keep a link with the old name, so that programmers looking for the old
name are redirected to the new name, so they find what they need.
I've removed documentation for uimaxabs(3), instead of keeping
information in HISTORY, as it has only existed for one glibc version,
to avoid programmers being confused by the old name.
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3577.txt>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man3/abs.3 | 14 | ||||
| -rw-r--r-- | man/man3/umaxabs.3 | 1 |
2 files changed, 9 insertions, 6 deletions
diff --git a/man/man3/abs.3 b/man/man3/abs.3 index 4621358d59..2056036e3f 100644 --- a/man/man3/abs.3 +++ b/man/man3/abs.3 @@ -6,7 +6,7 @@ .TH abs 3 (date) "Linux man-pages (unreleased)" .SH NAME abs, labs, llabs, imaxabs, -uabs, ulabs, ullabs, uimaxabs +uabs, ulabs, ullabs, umaxabs \- compute the absolute value of an integer .SH LIBRARY @@ -27,7 +27,7 @@ Standard C library .B #include <inttypes.h> .P .BI "intmax_t imaxabs(intmax_t " j ); -.BI "uintmax_t uimaxabs(intmax_t " j ); +.BI "uintmax_t umaxabs(intmax_t " j ); .fi .P .RS -4 @@ -43,7 +43,7 @@ Feature Test Macro Requirements for glibc (see .BR uabs (), .BR ulabs (), .BR ullabs (), -.BR uimaxabs (): +.BR umaxabs (): .nf _ISOC2Y_SOURCE .fi @@ -74,7 +74,7 @@ T{ .BR uabs (), .BR ulabs (), .BR \%ullabs (), -.BR \%uimaxabs () +.BR \%umaxabs () T} Thread safety MT-Safe .TE .SH STANDARDS @@ -108,10 +108,12 @@ glibc 2.1.1. .BR ulabs () .TQ .BR \%ullabs () -.TQ -.BR \%uimaxabs () C2y; glibc 2.42. +.TP +.BR \%umaxabs () +C2y; +glibc 2.43. .SH BUGS For .BR abs (), diff --git a/man/man3/umaxabs.3 b/man/man3/umaxabs.3 new file mode 100644 index 0000000000..97db8d2b6f --- /dev/null +++ b/man/man3/umaxabs.3 @@ -0,0 +1 @@ +.so man3/abs.3 |
