aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 20:47:39 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 20:47:39 +0100
commitab50e426606b21fc174dcf408268aae6d257ddd4 (patch)
tree91ec537891c4592cfe7eac0ece8f9b16e0075cf0
parent10ec02ff8772d541e6bfcb314b77f900851474dd (diff)
downloadman-pages-ab50e426606b21fc174dcf408268aae6d257ddd4.tar.gz
lround.3: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/lround.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/lround.3 b/man3/lround.3
index 17129c36d6..c522286a82 100644
--- a/man3/lround.3
+++ b/man3/lround.3
@@ -8,6 +8,9 @@
.SH NAME
lround, lroundf, lroundl, llround, llroundf, llroundl \- round to
nearest integer
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -21,8 +24,6 @@ nearest integer
.BI "long long llroundl(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)):