]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
nextafter.3: Add LIBRARY section (libm)
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 19:44:55 +0000 (20:44 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 19:44:55 +0000 (20:44 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/nextafter.3

index 24f1b58c39432fbec922c3806626399363cc5510..77323e90d1b42efa20473a8549ee24478231c461 100644 (file)
@@ -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)):