aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 20:44:55 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 20:44:55 +0100
commit62d2d65e5ec734a5bbbc43678fa0c9fa511d47de (patch)
treeaf0f1af7322ecf48c873e888e180026deb19d1b5
parentcc5d19df9704b491fec6f7c440c66ba1632a1a7d (diff)
downloadman-pages-62d2d65e5ec734a5bbbc43678fa0c9fa511d47de.tar.gz
nextafter.3: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/nextafter.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/nextafter.3 b/man3/nextafter.3
index 24f1b58c39..77323e90d1 100644
--- a/man3/nextafter.3
+++ b/man3/nextafter.3
@@ -10,6 +10,9 @@
.SH NAME
nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl \-
floating-point number manipulation
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -23,8 +26,6 @@ floating-point number manipulation
.BI "long double nexttowardl(long double " x ", long double " y );
.fi
.PP
-Link with \fI\-lm\fP.
-.PP
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):