summaryrefslogtreecommitdiffstats
path: root/man3/abs.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/abs.3')
-rw-r--r--man3/abs.326
1 files changed, 20 insertions, 6 deletions
diff --git a/man3/abs.3 b/man3/abs.3
index 9251606de..1d70ba583 100644
--- a/man3/abs.3
+++ b/man3/abs.3
@@ -12,7 +12,7 @@
.\" Modified Sat Jul 24 21:45:37 1993, Rik Faith (faith@cs.unc.edu)
.\" Modified Sat Dec 16 15:02:59 2000, Joseph S. Myers
.\"
-.TH abs 3 2022-12-29 "Linux man-pages 6.03"
+.TH abs 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
abs, labs, llabs, imaxabs \- compute the absolute value of an integer
.SH LIBRARY
@@ -58,25 +58,39 @@ integer type for the function.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR abs (),
.BR labs (),
.BR llabs (),
.BR imaxabs ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD.
+C11, POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, C99, SVr4, 4.3BSD.
+.\" POSIX.1 (1996 edition) requires only the
+.\" .BR abs ()
+.\" function.
+.PP
+C89 only
+includes the
+.BR abs ()
+and
+.BR labs ()
+functions; the functions
+.BR llabs ()
+and
+.BR imaxabs ()
+were added in C99.
.SH NOTES
Trying to take the absolute value of the most negative integer
is not defined.