mirror of https://github.com/mkerrisk/man-pages
INFINITY.3, exec.3, exp.3, exp10.3, exp2.3, expm1.3, fabs.3, fenv.3, fgetwc.3, finite.3, flockfile.3, floor.3, fma.3, fmax.3, fmod.3, fmtmsg.3, fpathconf.3, fpurge.3, fputwc.3, frexp.3, getgrent_r.3, getgrnam.3, gethostbyname.3, glob.3, hsearch.3, hypot.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3f89e93db7
commit
8f92fd96a8
|
@ -28,7 +28,6 @@ INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating-point constants
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#define _ISOC99_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B #include <math.h>
|
||||
.PP
|
||||
.B INFINITY
|
||||
|
@ -36,9 +35,7 @@ INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating-point constants
|
|||
.B NAN
|
||||
.PP
|
||||
.B HUGE_VAL
|
||||
.br
|
||||
.B HUGE_VALF
|
||||
.br
|
||||
.B HUGE_VALL
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
11
man3/exec.3
11
man3/exec.3
|
@ -42,29 +42,22 @@
|
|||
.SH NAME
|
||||
execl, execlp, execle, execv, execvp, execvpe \- execute a file
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B extern char **environ;
|
||||
.PP
|
||||
.BI "int execl(const char *" path ", const char *" arg ", ..."
|
||||
.br
|
||||
.B " /* (char *) NULL */);"
|
||||
.br
|
||||
.BI "int execlp(const char *" file ", const char *" arg ", ..."
|
||||
.br
|
||||
.B " /* (char *) NULL */);"
|
||||
.br
|
||||
.BI "int execle(const char *" path ", const char *" arg ", ..."
|
||||
.br
|
||||
.BI " /*, (char *) NULL, char * const " envp "[] */);"
|
||||
.br
|
||||
.BI "int execv(const char *" path ", char *const " argv "[]);"
|
||||
.br
|
||||
.BI "int execvp(const char *" file ", char *const " argv "[]);"
|
||||
.br
|
||||
.BI "int execvpe(const char *" file ", char *const " argv "[],"
|
||||
.br
|
||||
.BI " char *const " envp "[]);"
|
||||
.fi
|
||||
.PP
|
||||
.in -4n
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -41,9 +41,7 @@ exp, expf, expl \- base-e exponential function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double exp(double " x );
|
||||
.br
|
||||
.BI "float expf(float " x );
|
||||
.br
|
||||
.BI "long double expl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -38,13 +38,10 @@ exp10, exp10f, exp10l \- base-10 exponential function
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double exp10(double " x );
|
||||
.br
|
||||
.BI "float exp10f(float " x );
|
||||
.br
|
||||
.BI "long double exp10l(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -41,9 +41,7 @@ exp2, exp2f, exp2l \- base-2 exponential function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double exp2(double " x );
|
||||
.br
|
||||
.BI "float exp2f(float " x );
|
||||
.br
|
||||
.BI "long double exp2l(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -35,9 +35,7 @@ expm1, expm1f, expm1l \- exponential minus 1
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double expm1(double " x );
|
||||
.br
|
||||
.BI "float expm1f(float " x );
|
||||
.br
|
||||
.BI "long double expm1l(long double " x );
|
||||
.PP
|
||||
.fi
|
||||
|
|
|
@ -37,9 +37,7 @@ fabs, fabsf, fabsl \- absolute value of floating-point number
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double fabs(double " x );
|
||||
.br
|
||||
.BI "float fabsf(float " x );
|
||||
.br
|
||||
.BI "long double fabsl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -35,25 +35,17 @@ fegetexcept \- floating-point rounding and exception handling
|
|||
.B #include <fenv.h>
|
||||
.PP
|
||||
.BI "int feclearexcept(int " excepts );
|
||||
.br
|
||||
.BI "int fegetexceptflag(fexcept_t *" flagp ", int " excepts );
|
||||
.br
|
||||
.BI "int feraiseexcept(int " excepts );
|
||||
.br
|
||||
.BI "int fesetexceptflag(const fexcept_t *" flagp ", int " excepts );
|
||||
.br
|
||||
.BI "int fetestexcept(int " excepts );
|
||||
.PP
|
||||
.B "int fegetround(void);"
|
||||
.br
|
||||
.BI "int fesetround(int " rounding_mode );
|
||||
.PP
|
||||
.BI "int fegetenv(fenv_t *" envp );
|
||||
.br
|
||||
.BI "int feholdexcept(fenv_t *" envp );
|
||||
.br
|
||||
.BI "int fesetenv(const fenv_t *" envp );
|
||||
.br
|
||||
.BI "int feupdateenv(const fenv_t *" envp );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -21,7 +21,6 @@ fgetwc, getwc \- read a wide character from a FILE stream
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <stdio.h>
|
||||
.br
|
||||
.B #include <wchar.h>
|
||||
.PP
|
||||
.BI "wint_t fgetwc(FILE *" stream );
|
||||
|
|
|
@ -31,21 +31,15 @@ BSD floating-point classification functions
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "int finite(double " x );
|
||||
.br
|
||||
.BI "int finitef(float " x );
|
||||
.br
|
||||
.BI "int finitel(long double " x );
|
||||
.PP
|
||||
.BI "int isinf(double " x );
|
||||
.br
|
||||
.BI "int isinff(float " x );
|
||||
.br
|
||||
.BI "int isinfl(long double " x );
|
||||
.PP
|
||||
.BI "int isnan(double " x );
|
||||
.br
|
||||
.BI "int isnanf(float " x );
|
||||
.br
|
||||
.BI "int isnanl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -30,9 +30,7 @@ flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
|
|||
.B #include <stdio.h>
|
||||
.PP
|
||||
.BI "void flockfile(FILE *" filehandle );
|
||||
.br
|
||||
.BI "int ftrylockfile(FILE *" filehandle );
|
||||
.br
|
||||
.BI "void funlockfile(FILE *" filehandle );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -32,9 +32,7 @@ floor, floorf, floorl \- largest integral value not greater than argument
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double floor(double " x );
|
||||
.br
|
||||
.BI "float floorf(float " x );
|
||||
.br
|
||||
.BI "long double floorl(long double " x );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -17,9 +17,7 @@ fma, fmaf, fmal \- floating-point multiply and add
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double fma(double " x ", double " y ", double " z );
|
||||
.br
|
||||
.BI "float fmaf(float " x ", float " y ", float " z );
|
||||
.br
|
||||
.BI "long double fmal(long double " x ", long double " y ", long double " z );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -13,9 +13,7 @@ fmax, fmaxf, fmaxl \- determine maximum of two floating-point numbers
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double fmax(double " x ", double " y );
|
||||
.br
|
||||
.BI "float fmaxf(float " x ", float " y );
|
||||
.br
|
||||
.BI "long double fmaxl(long double " x ", long double " y );
|
||||
.PP
|
||||
Link with \fI\-lm\fP.
|
||||
|
|
|
@ -40,9 +40,7 @@ fmod, fmodf, fmodl \- floating-point remainder function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double fmod(double " x ", double " y );
|
||||
.br
|
||||
.BI "float fmodf(float " x ", float " y );
|
||||
.br
|
||||
.BI "long double fmodl(long double " x ", long double " y );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -18,9 +18,7 @@ fmtmsg \- print formatted error messages
|
|||
.B #include <fmtmsg.h>
|
||||
.PP
|
||||
.BI "int fmtmsg(long " classification ", const char *" label ,
|
||||
.br
|
||||
.BI " int " severity ", const char *" text ,
|
||||
.br
|
||||
.BI " const char *" action ", const char *" tag );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -47,7 +47,6 @@ fpathconf, pathconf \- get configuration values for files
|
|||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "long fpathconf(int " fd ", int " name );
|
||||
.br
|
||||
.BI "long pathconf(const char *" path ", int " name );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -34,7 +34,6 @@ fpurge, __fpurge \- purge a stream
|
|||
|
||||
/* supported */
|
||||
.B #include <stdio.h>
|
||||
.br
|
||||
.B #include <stdio_ext.h>
|
||||
.PP
|
||||
.BI "void __fpurge(FILE *" stream );
|
||||
|
|
|
@ -19,7 +19,6 @@ fputwc, putwc \- write a wide character to a FILE stream
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <stdio.h>
|
||||
.br
|
||||
.B #include <wchar.h>
|
||||
.PP
|
||||
.BI "wint_t fputwc(wchar_t " wc ", FILE *" stream );
|
||||
|
|
|
@ -39,9 +39,7 @@ and integral components
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double frexp(double " x ", int *" exp );
|
||||
.br
|
||||
.BI "float frexpf(float " x ", int *" exp );
|
||||
.br
|
||||
.BI "long double frexpl(long double " x ", int *" exp );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -29,11 +29,9 @@ getgrent_r, fgetgrent_r \- get group file entry reentrantly
|
|||
.B #include <grp.h>
|
||||
.PP
|
||||
.BI "int getgrent_r(struct group *" gbuf ", char *" buf ,
|
||||
.br
|
||||
.BI " size_t " buflen ", struct group **" gbufp );
|
||||
.PP
|
||||
.BI "int fgetgrent_r(FILE *" stream ", struct group *" gbuf ", char *" buf ,
|
||||
.br
|
||||
.BI " size_t " buflen ", struct group **" gbufp );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -43,11 +43,9 @@ getgrnam, getgrnam_r, getgrgid, getgrgid_r \- get group file entry
|
|||
.BI "struct group *getgrgid(gid_t " gid );
|
||||
.PP
|
||||
.BI "int getgrnam_r(const char *" name ", struct group *" grp ,
|
||||
.br
|
||||
.BI " char *" buf ", size_t " buflen ", struct group **" result );
|
||||
.PP
|
||||
.BI "int getgrgid_r(gid_t " gid ", struct group *" grp ,
|
||||
.br
|
||||
.BI " char *" buf ", size_t " buflen ", struct group **" result );
|
||||
.fi
|
||||
.PP
|
||||
|
|
|
@ -63,11 +63,9 @@ gethostent_r \- get network host entry
|
|||
.BI "const char *hstrerror(int " err );
|
||||
.PP
|
||||
/* System V/POSIX extension */
|
||||
.br
|
||||
.B struct hostent *gethostent(void);
|
||||
.PP
|
||||
/* GNU extensions */
|
||||
.br
|
||||
.BI "struct hostent *gethostbyname2(const char *" name ", int " af );
|
||||
.PP
|
||||
.B "int gethostent_r("
|
||||
|
|
|
@ -39,11 +39,8 @@ glob, globfree \- find pathnames matching a pattern, free memory from glob()
|
|||
.B #include <glob.h>
|
||||
.PP
|
||||
.BI "int glob(const char *" pattern ", int " flags ,
|
||||
.br
|
||||
.BI " int (*" errfunc ") (const char *" epath ", int " eerrno ),
|
||||
.br
|
||||
.BI " glob_t *" pglob );
|
||||
.br
|
||||
.BI "void globfree(glob_t *" pglob );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
@ -74,7 +71,6 @@ This structure is of type
|
|||
and includes the following elements defined by POSIX.2 (more may be
|
||||
present as an extension):
|
||||
.PP
|
||||
.br
|
||||
.in +4n
|
||||
.EX
|
||||
typedef struct {
|
||||
|
|
|
@ -47,7 +47,6 @@ hsearch_r \- hash table management
|
|||
.B "void hdestroy(void);"
|
||||
.PP
|
||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B #include <search.h>
|
||||
.PP
|
||||
.BI "int hcreate_r(size_t " nel ", struct hsearch_data *" htab );
|
||||
|
|
|
@ -38,9 +38,7 @@ hypot, hypotf, hypotl \- Euclidean distance function
|
|||
.B #include <math.h>
|
||||
.PP
|
||||
.BI "double hypot(double " x ", double " y );
|
||||
.br
|
||||
.BI "float hypotf(float " x ", float " y );
|
||||
.br
|
||||
.BI "long double hypotl(long double " x ", long double " y );
|
||||
.fi
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue