From: Alejandro Colomar Date: Sun, 27 Feb 2022 19:31:40 +0000 (+0100) Subject: trunc.3: Add LIBRARY section (libm) X-Git-Tag: man-pages-5.19-rc1~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dacc8b9740ce0e9241169720b5c8317acece6dde;p=thirdparty%2Fman-pages.git trunc.3: Add LIBRARY section (libm) Signed-off-by: Alejandro Colomar --- diff --git a/man3/trunc.3 b/man3/trunc.3 index 8210e4849b..66bbaeea3f 100644 --- a/man3/trunc.3 +++ b/man3/trunc.3 @@ -5,6 +5,9 @@ .TH TRUNC 3 2021-03-22 "" "Linux Programmer's Manual" .SH NAME trunc, truncf, truncl \- round to integer, toward zero +.SH LIBRARY +Math library +.RI ( libm ", " -lm ) .SH SYNOPSIS .nf .B #include @@ -14,8 +17,6 @@ trunc, truncf, truncl \- round to integer, toward zero .BI "long double truncl(long double " x ); .fi .PP -Link with \fI\-lm\fP. -.PP .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)):