From: Alejandro Colomar Date: Sun, 6 Mar 2022 19:44:55 +0000 (+0100) Subject: nextafter.3: Add LIBRARY section (libm) X-Git-Tag: man-pages-5.19-rc1~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d2d65e5ec734a5bbbc43678fa0c9fa511d47de;p=thirdparty%2Fman-pages.git nextafter.3: Add LIBRARY section (libm) Signed-off-by: Alejandro Colomar --- 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 @@ -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)):