Where there is an instruction in the SYNOPIS about linking

or compiling with a certain option, the option is now
marked up in itlacs (e.g., "\fI-lm\fP").
This commit is contained in:
Michael Kerrisk 2007-05-21 09:56:00 +00:00
parent c91a473e2f
commit e9329f6ddc
92 changed files with 113 additions and 98 deletions

25
Changes
View File

@ -15,6 +15,12 @@ Apologies if I missed anyone!
Global changes
--------------
Various pages
mtk
Where there is an instruction in the SYNOPIS about linking
or compiling with a certain option, the option is now
marked up in itlacs (e.g., "\fI-lm\fP").
Typographical or grammatical errors have been corrected in several
places.
@ -31,10 +37,6 @@ LDP.7
Changes to individual pages
---------------------------
exec.3
mtk
Removed FILES section, since it seems to provide no useful info.
fcntl.2
mtk
Remove misleading text about setting O_ASYNC when calling
@ -59,6 +61,21 @@ atexit.3
mtk
Small rearrangement of text under NOTES.
exec.3
mtk
Minor clarifications for text on execlp() and execvp().
Removed FILES section, since it provides no useful additional info.
login.3
mtk
Removed remark from NOTES about linking with -lutil; add
text on that point to SYNOPSIS.
openpty.3
mtk
Removed redundant remark from NOTES about linking with -lutil
since there is text on that point under SYNOPSIS.
sysconf.3
mtk
Added SEE ALSO referring to getconf(1).

View File

@ -40,7 +40,7 @@ acos, acosf, acosl \- arc cosine function
.BI "long double acosl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR acos ()

View File

@ -42,7 +42,7 @@ acosh, acoshf, acoshl \- inverse hyperbolic cosine function
.BI "long double acoshl(long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR acosh ()

View File

@ -42,7 +42,7 @@ asin, asinf, asinl \- arc sine function
.BI "long double asinl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR asin ()

View File

@ -42,7 +42,7 @@ asinh, asinhf, asinhl \- inverse hyperbolic sine function
.BI "long double asinhl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR asinh ()

View File

@ -42,7 +42,7 @@ atan, atanf, atanl \- arc tangent function
.BI "long double atanl( long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR atan ()

View File

@ -42,7 +42,7 @@ atan2, atan2f, atan2l \- arc tangent function of two variables
.BI "long double atan2l(long double " y ", long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR atan2 ()

View File

@ -42,7 +42,7 @@ atanh, atanhf, atanhl \- inverse hyperbolic tangent function
.BI "long double atanhl(long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR atanh ()

View File

@ -13,7 +13,7 @@ cabs, cabsf, cabsl \- absolute value of a complex number
.br
.BI "long double cabsl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cabs ()

View File

@ -13,7 +13,7 @@ cacos, cacosf, cacosl \- complex arc cosine
.br
.BI "long double complex cacosl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cacos ()

View File

@ -13,7 +13,7 @@ cacosh, cacoshf, cacoshl \- complex arc hyperbolic cosine
.br
.BI "long double complex cacoshl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cacosh ()

View File

@ -13,7 +13,7 @@ carg, cargf, cargl \- calculate the argument
.br
.BI "long double cargl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
A complex number can be described by two real coordinates.
One may use rectangular coordinates and gets z = x+I*y, where

View File

@ -13,7 +13,7 @@ casin, casinf, casinl \- complex arc sine
.br
.BI "long double complex casinl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR casin ()

View File

@ -13,7 +13,7 @@ casinh, casinhf, casinhl \- complex arc sine hyperbolic
.br
.BI "long double complex casinhl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR casinh ()

View File

@ -13,7 +13,7 @@ catan, catanf, catanl \- complex arc tangents
.br
.BI "long double complex catanl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR catan ()

View File

@ -13,7 +13,7 @@ catanh, catanhf, catanhl \- complex arc tangents hyperbolic
.br
.BI "long double complex catanhl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR catanh ()

View File

@ -39,7 +39,7 @@ cbrt, cbrtf, cbrtl \- cube root function
.BI "long double cbrtl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cbrt ()

View File

@ -13,7 +13,7 @@ ccos, ccosf, ccosl \- complex cosine function
.br
.BI "long double complex ccosl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex cosine function ccos(z) is defined as (exp(i*z)+exp(\-i*z))/2.
.SH "CONFORMING TO"

View File

@ -13,7 +13,7 @@ ccosh, ccoshf, ccoshl \- complex hyperbolic cosine
.br
.BI "long double complex ccoshl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex hyperbolic cosine function ccosh(z) is defined as
(exp(z)+exp(\-z))/2.

View File

@ -35,7 +35,7 @@ less than argument
.BI "long double ceill(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
These functions round \fIx\fP up to the nearest integer.
.SH "RETURN VALUE"

View File

@ -19,7 +19,7 @@ cerf, cerff, cerfl, cerfc, cerfcf, cerfcl \- complex error function
.br
.BI "long double complex cerfcl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The function
.BR cerf ()

View File

@ -13,7 +13,7 @@ cexp, cexpf, cexpl \- complex exponential function
.br
.BI "long double complex cexpl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The function calculates e (2.71828..., the base of natural logarithms)
raised to the power of z.

View File

@ -13,7 +13,7 @@ cexp2, cexp2f, cexp2l \- base-2 exponent of a complex number
.br
.BI "long double complex cexp2l(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The function returns 2 raised to the power of z.
.SH "CONFORMING TO"

View File

@ -13,7 +13,7 @@ cimag, cimagf, cimagl \- get imaginary part of a complex number
.br
.BI "long double cimagl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cimag ()

View File

@ -13,7 +13,7 @@ clog, clogf, clogl \- natural logarithm of a complex number
.br
.BI "long double complex clogl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The logarithm clog() is the inverse function of the exponential cexp().
Thus, if y = clog(z), then z = cexp(y).

View File

@ -15,7 +15,7 @@ clog10, clog10f, clog10l \- base-10 logarithm of a complex number
.br
.BI "long double complex clog10l(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The call
.I clog10(z)

View File

@ -13,7 +13,7 @@ clog2, clog2f, clog2l \- base-2 logarithm of a complex number
.br
.BI "long double complex clog2l(long double complex " z );
.\" .sp
.\" Link with \-lm.
.\" Link with \fI-lm\fP.
.SH DESCRIPTION
The call
.I clog2(z)

View File

@ -13,7 +13,7 @@ conj, conjf, conjl \- calculate the complex conjugate
.br
.BI "long double complex conjl(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR conj ()

View File

@ -40,7 +40,7 @@ copysign, copysignf, copysignl \- copy sign of a number
.BI "long double copysignl(long double " x ", long double " y );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR copysign ()

View File

@ -41,7 +41,7 @@ cos, cosf, cosl \- cosine function
.BI "long double cosl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cos ()

View File

@ -43,7 +43,7 @@ cosh, coshf, coshl \- hyperbolic cosine function
.BI "long double coshl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR cosh ()

View File

@ -13,7 +13,7 @@ cpow, cpowf, cpowl \- complex power function
.br
.BI "long double complex cpowl(long double complex " x ", complex long double " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The function calculates x raised to the power z.
(With a branch cut for x along the negative real axis.)

View File

@ -13,7 +13,7 @@ cproj, cprojf, cprojl \- project into Riemann Sphere
.br
.BI "long double complex cprojl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
This function projects a point in the plane onto the surface of a
Riemann Sphere, the one-point compactification of the complex plane.

View File

@ -13,7 +13,7 @@ creal, crealf, creall \- get real part of a complex number
.br
.BI "long double creall(long double complex " z );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR creal ()

View File

@ -40,6 +40,8 @@ crypt \- password and data encryption
.B #include <unistd.h>
.sp
.BI "char *crypt(const char *" key ", const char *" salt );
.sp
Link with \fI\-lcrypt\fP.
.SH DESCRIPTION
.BR crypt ()
is the password encryption function.
@ -155,8 +157,6 @@ The entire
.I key
is significant here (instead of only the first
8 bytes).
.LP
Programs using this function must be linked with \-lcrypt.
.SH "SEE ALSO"
.BR login (1),
.BR passwd (1),

View File

@ -13,7 +13,7 @@ csin, csinf, csinl \- complex sine function
.br
.BI "long double complex csinl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex sine function csin(z) is defined as (exp(i*z)\-exp(\-i*z))/(2*i).
.SH "CONFORMING TO"

View File

@ -13,7 +13,7 @@ csinh, csinhf, csinhl \- complex hyperbolic sine
.br
.BI "long double complex csinhl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex hyperbolic sine function sinh(z) is defined as
(exp(z)\-exp(\-z))/2.

View File

@ -13,7 +13,7 @@ csqrt, csqrtf, csqrtl \- complex square root
.br
.BI "long double complex csqrtl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
Calculate the square root of a given complex number,
with non-negative real part, and

View File

@ -13,7 +13,7 @@ ctan, ctanf, ctanl \- complex tangent function
.br
.BI "long double complex ctanl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex tangent function ctan(z) is defined mathematically as
csin(z) / ccos(z).

View File

@ -13,7 +13,7 @@ ctanh, ctanhf, ctanhl \- complex hyperbolic tangent
.br
.BI "long double complex ctanhl(long double complex " z ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The complex hyperbolic tangent function ctanh(z) is defined
mathematically as csinh(z) / ccosh(z).

View File

@ -46,8 +46,7 @@ encrypt, setkey, encrypt_r, setkey_r \- encrypt 64-bit messages
.BI "void encrypt_r(char *" block ", int " edflag \
", struct crypt_data *" data );
.sp
Each of these requires linking with
.BR \-lcrypt .
Each of these requires linking with \fI\-lcrypt\fP.
.SH DESCRIPTION
These functions encrypt and decrypt 64-bit messages.
The

View File

@ -49,7 +49,7 @@ complementary error function
.BI "long double erfcl(long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR erf ()

View File

@ -43,7 +43,7 @@ exp, expf, expl \- base-e exponential function
.BI "long double expl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR exp ()

View File

@ -44,7 +44,7 @@ exp10, exp10f, exp10l \- base-10 exponential function
.BI "long double exp10l(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR exp10 ()

View File

@ -43,7 +43,7 @@ exp2, exp2f, exp2l \- base-2 exponential function
.BI "long double exp2l(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
The
.BR exp2 ()

View File

@ -37,7 +37,7 @@ expm1, expm1f, expm1l \- exponential minus 1
.BI "long double expm1l(long double " x );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
.BI expm1( x )
returns a value equivalent to `exp (\fIx\fP) \- 1'. It is

View File

@ -41,7 +41,7 @@ fabs, fabsf, fabsl \- absolute value of floating-point number
.BI "long double fabsl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR fabs ()

View File

@ -13,7 +13,7 @@ fdim, fdimf, fdiml \- positive difference
.br
.BI "long double fdiml(long double " x ", long double " y );
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions return max(\fIx\fP-\fIy\fP,0).
If

View File

@ -34,7 +34,7 @@ floor, floorf, floorl \- largest integral value not greater than argument
.BI "long double floorl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
These functions round \fIx\fP down to the nearest integer.
.SH "RETURN VALUE"

View File

@ -17,7 +17,7 @@ fma, fmaf, fmal \- floating-point multiply and add
.BI "long double fmal(long double " x ", long double " y ", long double " z );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
The
.BR fma ()

View File

@ -13,7 +13,7 @@ fmax, fmaxf, fmaxl \- find maximum value
.br
.BI "long double fmaxl(long double " x ", long double " y );
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
Find the larger value of x and y.
.SH "CONFORMING TO"

View File

@ -13,7 +13,7 @@ fmin, fminf, fminl \- find minimum value
.br
.BI "long double fminl(long double " x ", long double " y );
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
Find the lesser value of x and y.
.SH "CONFORMING TO"

View File

@ -42,7 +42,7 @@ fmod, fmodf, fmodl \- floating-point remainder function
.BI "long double fmodl(long double " x ", long double " y );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR fmod ()

View File

@ -21,7 +21,7 @@ fpclassify, isfinite, isnormal, isnan \- floating-point classification macros
.BI "int isinf(" x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
Floating point numbers can have special values, such as
infinite or NaN.

View File

@ -43,7 +43,7 @@ and integral components
.BI "long double frexpl(long double " x ", int *" exp );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR frexp ()

View File

@ -15,7 +15,7 @@ gamma, gammaf, gammal \- (logarithm of the) gamma function
.br
.BI "long double gammal(long double " x ");"
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
For the definition of the Gamma function, see
.BR tgamma (3).

View File

@ -42,7 +42,7 @@ hypot, hypotf, hypotl \- Euclidean distance function
.BI "long double hypotl(long double " x ", long double " y );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR hypot ()

View File

@ -34,7 +34,7 @@ ilogb, ilogbf, ilogbl \- get integer exponent of a floating point value
.br
.BI "int ilogbl(long double " x );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
These functions return the exponent part of their argument
as a signed integer.

View File

@ -38,7 +38,7 @@ infnan \- deal with infinite or not-a-number (NaN) result
.BI "double infnan(int " error );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR infnan ()

View File

@ -24,7 +24,7 @@ to test a relation
.BI "int isunordered(x,y);"
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
The normal relation operations (like less) will fail if one of the
operands is NaN.

View File

@ -74,7 +74,7 @@ y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl \- Bessel functions
.BI "long double ynl(int " n ", long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR j0 ()

View File

@ -41,7 +41,7 @@ ldexp, ldexpf, ldexpl \- multiply floating-point number by integral power of 2
.BI "long double ldexpl(long double " x ", int " exp );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR ldexp ()

View File

@ -22,7 +22,7 @@ lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r \- log gamma function
.BI "long double lgammal_r(long double " x ", int *" signp );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
For the definition of the Gamma function, see
.BR tgamma (3).

View File

@ -43,7 +43,7 @@ log, logf, logl \- natural logarithmic function
.BI "long double logl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR log ()

View File

@ -43,7 +43,7 @@ log10, log10f, log10l \- base-10 logarithmic function
.BI "long double log10l(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR log10 ()

View File

@ -36,7 +36,7 @@ log1p \- logarithm of 1 plus argument
.BI "long double log1pl(long double " x );
.sp
.fi
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
.BI log1p( x )
returns a value equivalent to `log (1 + \fIx\fP)'. It is computed in a way

View File

@ -43,7 +43,7 @@ log2, log2f, log2l \- base-2 logarithmic function
.BI "long double log2l(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
The
.BR log2 ()

View File

@ -34,7 +34,7 @@ logb, logbf, logbl \- get exponent of a floating point value
.br
.BI "long double logbl(long double " x );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
These functions extract the exponent of
.I x

View File

@ -40,7 +40,7 @@ lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
.BI "long long int llrintl(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions round their argument to the nearest integer value,
using the current rounding direction.

View File

@ -41,7 +41,7 @@ nearest integer, away from zero
.BI "long long int llroundl(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions round their argument to the nearest integer value,
rounding away from zero, regardless of the current rounding direction.

View File

@ -43,7 +43,7 @@ floating-point number
.BI "long double modfl(long double " x ", long double *" iptr );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR modf ()

View File

@ -15,7 +15,7 @@ nan, nanf, nanl \- return 'Not a Number'
.br
.BI "long double nanl(const char *" tagp );
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions return a representation (determined by
.IR tagp )

View File

@ -20,7 +20,7 @@ floating point number manipulation
.br
.BI "long double nexttowardl(long double " x ", long double " y );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR nextafter ()

View File

@ -42,7 +42,7 @@ pow, powf, powl \- power functions
.BI "long double powl(long double " x ", long double " y );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR pow ()

View File

@ -35,7 +35,7 @@ pow10, pow10f, pow10l \- base-10 power functions
.BI "long double pow10l(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR pow10 ()

View File

@ -49,7 +49,7 @@ floating-point remainder function
.BI "long double dreml(long double " x ", long double " y );
.sp
.fi
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR remainder ()

View File

@ -80,7 +80,7 @@ dn_comp, dn_expand \- resolver routines
.RE
.fi
.sp
Link with \-lresolv.
Link with \fI\-lresolv\fP.
.SH DESCRIPTION
These functions make queries to and interpret the responses from Internet
domain name servers.

View File

@ -40,7 +40,7 @@ nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl \- round to nearest intege
.BI "long double rintl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR nearbyint ()

View File

@ -34,7 +34,7 @@ round, roundf, roundl \- round to nearest integer, away from zero
.BI "long double roundl(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions round \fIx\fP to the nearest integer, but
round halfway cases away from zero (regardless of the current rounding

View File

@ -45,7 +45,7 @@ multiply floating-point number by integral power of radix
.br
.BI "long double scalblnl(long double " x ", long int " exp );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
These functions multiply their first argument
.I x

View File

@ -9,7 +9,7 @@ signbit \- test sign of a real floating point number
.sp
.BI "int signbit(" X ");"
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
`signbit' is a generic macro which can work on all real floating-point
types.

View File

@ -14,7 +14,7 @@ get mantissa of floating point number
.br
.BI "long double significandl(long double " x );
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR significand ()

View File

@ -41,7 +41,7 @@ sin, sinf, sinl \- sine function
.BI "long double sinl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR sin ()

View File

@ -16,7 +16,7 @@ sincos, sincosf, sincosl \- calculate sin and cos simultaneously
.BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
Several applications need sine and cosine of the same angle
.IR x .

View File

@ -43,7 +43,7 @@ sinh, sinhf, sinhl \- hyperbolic sine function
.BI "long double sinhl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR sinh ()

View File

@ -41,7 +41,7 @@ sqrt, sqrtf, sqrtl \- square root function
.BI "long double sqrtl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR sqrt ()

View File

@ -42,7 +42,7 @@ tan, tanf, tanl \- tangent function
.BI "long double tanl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR tan ()

View File

@ -42,7 +42,7 @@ tanh, tanhf, tanhl \- hyperbolic tangent function
.BI "long double tanhl(long double " x );
.fi
.sp
Link with \-lm.
Link with \fI-lm\fP.
.SH DESCRIPTION
The
.BR tanh ()

View File

@ -15,7 +15,7 @@ tgamma, tgammaf, tgammal \- true gamma function
.br
.BI "long double tgammal(long double " x );
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
The Gamma function is defined by
.sp

View File

@ -34,7 +34,7 @@ trunc, truncf, truncl \- round to integer, towards zero
.BI "long double truncl(long double " x );
.fi
.sp
Compile with \-std=c99; link with \-lm.
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
These functions round \fIx\fP to the nearest integer
not larger in absolute value.

View File

@ -58,8 +58,7 @@ used to occur in the old libbsd.
These days, the
.BR logwtmp ()
function is included in libutil.
(Hence you'll need to add
.B \-lutil
(Hence you'll need to add \fI\-lutil\fP
to your compiler command line to get it.)
.SH "SEE ALSO"
.BR wtmp (5)

View File

@ -32,7 +32,7 @@ Nearly all math function have a complex counterpart but there are
some complex only functions.
.SH EXAMPLE
Your C-compiler can work with complex numbers if it supports the C99 standard.
Link with \-lm.
Link with \fI-lm\fP.
The imaginary unit is represented by I.
.sp
.nf