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

index 8210e4849b8f7384f904e4b61cd8536aa625c83a..66bbaeea3f66a21096e522c6147c4741d0ac3368 100644 (file)
@@ -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 <math.h>
@@ -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)):