From: Alejandro Colomar Date: Tue, 28 Oct 2025 22:54:16 +0000 (+0100) Subject: man/man3/[umax]abs.3: Document umaxabs(3) X-Git-Tag: man-pages-6.16~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fa8cf151aaf9fc5141690ba6743f29fc799f13e;p=thirdparty%2Fman-pages.git 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: Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/abs.3 b/man/man3/abs.3 index 4621358d5..2056036e3 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 .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 000000000..97db8d2b6 --- /dev/null +++ b/man/man3/umaxabs.3 @@ -0,0 +1 @@ +.so man3/abs.3