mirror of https://github.com/mkerrisk/man-pages
j0.3, ldexp.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, lrint.3, lround.3, modf.3, netlink.3, opendir.3, pow.3, pow10.3, printf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8f92fd96a8
commit
a1048f8e1d
|
@ -41,24 +41,18 @@ Bessel functions of the first kind
|
|||
.nf
|
||||
.B #include <math.h>
|
||||
.PP
|
||||
.fi
|
||||
.BI "double j0(double " x );
|
||||
.br
|
||||
.BI "double j1(double " x );
|
||||
.br
|
||||
.BI "double jn(int " n ", double " x );
|
||||
.PP
|
||||
.BI "float j0f(float " x );
|
||||
.br
|
||||
.BI "float j1f(float " x );
|
||||
.br
|
||||
.BI "float jnf(int " n ", float " x );
|
||||
.PP
|
||||
.BI "long double j0l(long double " x );
|
||||
.br
|
||||
.BI "long double j1l(long double " x );
|
||||
.br
|
||||
.BI "long double jnl(int " n ", long double " x );
|
||||
.fi
|
||||
.PP
|
||||
Link with \fI\-lm\fP.
|
||||
.PP
|
||||
|
|
|
@ -39,9 +39,7 @@ ldexp, ldexpf, ldexpl \- multiply floating-point number by integral power of 2
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double ldexp(double " x ", int " exp );
|
||||
.br
|
||||
.BI "float ldexpf(float " x ", int " exp );
|
||||
.br
|
||||
.BI "long double ldexpl(long double " x ", int " exp );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -17,15 +17,11 @@ log gamma function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double lgamma(double " x );
|
||||
.br
|
||||
.BI "float lgammaf(float " x );
|
||||
.br
|
||||
.BI "long double lgammal(long double " x );
|
||||
.PP
|
||||
.BI "double lgamma_r(double " x ", int *" signp );
|
||||
.br
|
||||
.BI "float lgammaf_r(float " x ", int *" signp );
|
||||
.br
|
||||
.BI "long double lgammal_r(long double " x ", int *" signp );
|
||||
.PP
|
||||
.BI "extern int " signgam ;
|
||||
|
|
|
@ -41,9 +41,7 @@ log, logf, logl \- natural logarithmic function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double log(double " x );
|
||||
.br
|
||||
.BI "float logf(float " x );
|
||||
.br
|
||||
.BI "long double logl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -41,9 +41,7 @@ log10, log10f, log10l \- base-10 logarithmic function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double log10(double " x );
|
||||
.br
|
||||
.BI "float log10f(float " x );
|
||||
.br
|
||||
.BI "long double log10l(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -34,9 +34,7 @@ log1p, log1pf, log1pl \- logarithm of 1 plus argument
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double log1p(double " x );
|
||||
.br
|
||||
.BI "float log1pf(float " x );
|
||||
.br
|
||||
.BI "long double log1pl(long double " x );
|
||||
.PP
|
||||
.fi
|
||||
|
|
|
@ -41,9 +41,7 @@ log2, log2f, log2l \- base-2 logarithmic function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double log2(double " x );
|
||||
.br
|
||||
.BI "float log2f(float " x );
|
||||
.br
|
||||
.BI "long double log2l(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -32,15 +32,11 @@ lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "long int lrint(double " x );
|
||||
.br
|
||||
.BI "long int lrintf(float " x );
|
||||
.br
|
||||
.BI "long int lrintl(long double " x );
|
||||
.PP
|
||||
.BI "long long int llrint(double " x );
|
||||
.br
|
||||
.BI "long long int llrintf(float " x );
|
||||
.br
|
||||
.BI "long long int llrintl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -33,15 +33,11 @@ nearest integer, away from zero
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "long int lround(double " x );
|
||||
.br
|
||||
.BI "long int lroundf(float " x );
|
||||
.br
|
||||
.BI "long int lroundl(long double " x );
|
||||
.PP
|
||||
.BI "long long int llround(double " x );
|
||||
.br
|
||||
.BI "long long int llroundf(float " x );
|
||||
.br
|
||||
.BI "long long int llroundl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -39,9 +39,7 @@ floating-point number
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double modf(double " x ", double *" iptr );
|
||||
.br
|
||||
.BI "float modff(float " x ", float *" iptr );
|
||||
.br
|
||||
.BI "long double modfl(long double " x ", long double *" iptr );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -13,21 +13,14 @@ netlink \- Netlink macros
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <asm/types.h>
|
||||
.br
|
||||
.B #include <linux/netlink.h>
|
||||
.PP
|
||||
.BI "int NLMSG_ALIGN(size_t " len );
|
||||
.br
|
||||
.BI "int NLMSG_LENGTH(size_t " len );
|
||||
.br
|
||||
.BI "int NLMSG_SPACE(size_t " len );
|
||||
.br
|
||||
.BI "void *NLMSG_DATA(struct nlmsghdr *" nlh );
|
||||
.br
|
||||
.BI "struct nlmsghdr *NLMSG_NEXT(struct nlmsghdr *" nlh ", int " len );
|
||||
.br
|
||||
.BI "int NLMSG_OK(struct nlmsghdr *" nlh ", int " len );
|
||||
.br
|
||||
.BI "int NLMSG_PAYLOAD(struct nlmsghdr *" nlh ", int " len );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -35,7 +35,6 @@ opendir, fdopendir \- open a directory
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <sys/types.h>
|
||||
.br
|
||||
.B #include <dirent.h>
|
||||
.PP
|
||||
.BI "DIR *opendir(const char *" name );
|
||||
|
|
|
@ -40,9 +40,7 @@ pow, powf, powl \- power functions
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double pow(double " x ", double " y );
|
||||
.br
|
||||
.BI "float powf(float " x ", float " y );
|
||||
.br
|
||||
.BI "long double powl(long double " x ", long double " y );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -31,9 +31,7 @@ pow10, pow10f, pow10l \- base-10 power functions
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double pow10(double " x );
|
||||
.br
|
||||
.BI "float pow10f(float " x );
|
||||
.br
|
||||
.BI "long double pow10l(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -36,30 +36,24 @@
|
|||
printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf,
|
||||
vsprintf, vsnprintf \- formatted output conversion
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <stdio.h>
|
||||
.PP
|
||||
.BI "int printf(const char *" format ", ...);"
|
||||
.br
|
||||
.BI "int fprintf(FILE *" stream ", const char *" format ", ...);"
|
||||
.br
|
||||
.BI "int dprintf(int " fd ", const char *" format ", ...);"
|
||||
.br
|
||||
.BI "int sprintf(char *" str ", const char *" format ", ...);"
|
||||
.br
|
||||
.BI "int snprintf(char *" str ", size_t " size ", const char *" format ", ...);"
|
||||
|
||||
.B #include <stdarg.h>
|
||||
.PP
|
||||
.BI "int vprintf(const char *" format ", va_list " ap );
|
||||
.br
|
||||
.BI "int vfprintf(FILE *" stream ", const char *" format ", va_list " ap );
|
||||
.br
|
||||
.BI "int vdprintf(int " fd ", const char *" format ", va_list " ap );
|
||||
.br
|
||||
.BI "int vsprintf(char *" str ", const char *" format ", va_list " ap );
|
||||
.br
|
||||
.BI "int vsnprintf(char *" str ", size_t " size ", const char *" format \
|
||||
", va_list " ap );
|
||||
.fi
|
||||
.PP
|
||||
.in -4n
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
Loading…
Reference in New Issue