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

index 5f6d84608db3e369c54b7f08c7ea2565fa8f300b..f2aeb4c8cd33176b2d90ff932d839ffb902c0c37 100644 (file)
@@ -14,6 +14,9 @@
 .TH SQRT 3  2021-03-22 ""  "Linux Programmer's Manual"
 .SH NAME
 sqrt, sqrtf, sqrtl \- square root function
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
 .SH SYNOPSIS
 .nf
 .B #include <math.h>
@@ -23,8 +26,6 @@ sqrt, sqrtf, sqrtl \- square root function
 .BI "long double sqrtl(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)):