]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/[umax]abs.3: Document umaxabs(3)
authorAlejandro Colomar <alx@kernel.org>
Tue, 28 Oct 2025 22:54:16 +0000 (23:54 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 28 Oct 2025 22:58:21 +0000 (23:58 +0100)
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>
man/man3/abs.3
man/man3/umaxabs.3 [new file with mode: 0644]

index 4621358d596ad4f9e586dccaefe54bcc526dea18..2056036e3f74ca60f8c03bd4415fd6371cd7956b 100644 (file)
@@ -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 (file)
index 0000000..97db8d2
--- /dev/null
@@ -0,0 +1 @@
+.so man3/abs.3