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

index 99023bded737808afe6466cee66fcaa299aef290..a387ebc0973bf39194ac05e7e64e6cc0232467ed 100644 (file)
@@ -7,6 +7,9 @@
 .TH SINCOS 3  2021-03-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
 sincos, sincosf, sincosl \- calculate sin and cos simultaneously
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
@@ -16,8 +19,6 @@ sincos, sincosf, sincosl \- calculate sin and cos simultaneously
 .BI "void sincosf(float " x ", float *" sin ", float *" cos );
 .BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
 .fi
-.PP
-Link with \fI\-lm\fP.
 .SH DESCRIPTION
 Several applications need sine and cosine of the same angle
 .IR x .