mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
134c92adba
commit
defcceb3e7
|
@ -44,14 +44,14 @@ additional VMA (Virtual Memory Area) data structures.
|
|||
|
||||
To create a non-linear mapping we perform the following steps:
|
||||
.TP
|
||||
\fB1.\fp
|
||||
\fB1.\fP
|
||||
Use
|
||||
.BR mmap ()
|
||||
to create a mapping (which is initially linear).
|
||||
This mapping must be created with the
|
||||
MAP_SHARED flag.
|
||||
.TP
|
||||
\fB2.\fp
|
||||
\fB2.\fP
|
||||
Use one or more calls to
|
||||
.BR remap_file_pages ()
|
||||
to rearrange the correspondence between the pages of the mapping
|
||||
|
|
|
@ -129,7 +129,7 @@ if no physical memory is available.
|
|||
See also the discussion of the file
|
||||
.I /proc/sys/vm/overcommit_memory
|
||||
in
|
||||
.Br proc (5).
|
||||
.BR proc (5).
|
||||
.\" As at 2.6.17-rc2, this flag has no effect if SHM_HUGETLB was also
|
||||
.\" specified.
|
||||
.PP
|
||||
|
|
|
@ -126,7 +126,7 @@ that will ensure that all pages in the specified range which were dirty when
|
|||
.BR sync_file_range()
|
||||
was called are committed to disk.
|
||||
.SH ERRORS
|
||||
.TB
|
||||
.TP
|
||||
.B EBADF
|
||||
.I fd
|
||||
is not a valid file descriptor.
|
||||
|
|
|
@ -56,7 +56,7 @@ POSIX.1 defines
|
|||
.I seconds since the Epoch
|
||||
as a value to be interpreted as the number of seconds between a
|
||||
specified time and the Epoch, according to a formula for conversion
|
||||
from UTC equivalent to conversion on the naïve basis that leap
|
||||
from UTC equivalent to conversion on the naive basis that leap
|
||||
seconds are ignored and all years divisible by 4 are leap years. This
|
||||
value is not the same as the actual number of seconds between the time
|
||||
and the Epoch, because of leap seconds and because clocks are not
|
||||
|
|
|
@ -27,7 +27,7 @@ dirname, basename \- Parse pathname components
|
|||
.B #include <libgen.h>
|
||||
.sp
|
||||
.BI "char *dirname(char *" path );
|
||||
.nl
|
||||
.br
|
||||
.BI "char *basename(char *" path );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -34,7 +34,7 @@ confstr \- get configuration dependent string variables
|
|||
.B #define _POSIX_C_SOURCE 2
|
||||
or
|
||||
.B #define _XOPEN_SOURCE
|
||||
.nl
|
||||
.br
|
||||
.B #include <unistd.h>
|
||||
.sp
|
||||
.BI "size_t confstr(int " "name" ", char *" buf ", size_t " len );
|
||||
|
|
|
@ -29,7 +29,7 @@ fpathconf, pathconf \- get configuration values for files
|
|||
.B #include <unistd.h>
|
||||
.sp
|
||||
.BI "long fpathconf(int " filedes ", int " name );
|
||||
.nl
|
||||
.br
|
||||
.BI "long pathconf(char *" path ", int " name );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -30,7 +30,7 @@ getline, getdelim \- delimited string input
|
|||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "ssize_t getline(char **" lineptr ", size_t *" n ", FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim ", FILE *" stream );
|
||||
.SH DESCRIPTION
|
||||
.BR getline ()
|
||||
|
|
10
man3/gets.3
10
man3/gets.3
|
@ -30,15 +30,15 @@ fgetc, fgets, getc, getchar, gets, ungetc \- input of characters and strings
|
|||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "int fgetc(FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "char *fgets(char *" "s" ", int " "size" ", FILE *" "stream" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int getc(FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "int getchar(void);"
|
||||
.nl
|
||||
.br
|
||||
.BI "char *gets(char *" "s" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int ungetc(int " c ", FILE *" stream );
|
||||
.SH DESCRIPTION
|
||||
.BR fgetc ()
|
||||
|
|
|
@ -28,9 +28,9 @@ getw, putw \- input and output of words (ints)
|
|||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "int getw(FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "int putw(int " w ", FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
\fBgetw\fP() reads a word (that is, an \fIint\fP) from \fIstream\fP. It's
|
||||
provided for compatibility with SVID. We recommend you use
|
||||
|
|
12
man3/glob.3
12
man3/glob.3
|
@ -33,11 +33,11 @@ glob, globfree \- find pathnames matching a pattern, free memory from glob()
|
|||
.B #include <glob.h>
|
||||
.sp
|
||||
.BI "int glob(const char *" pattern ", int " flags ,
|
||||
.nl
|
||||
.br
|
||||
.BI " int " errfunc "(const char *" epath ", int " eerrno ),
|
||||
.nl
|
||||
.br
|
||||
.BI " glob_t *" pglob );
|
||||
.nl
|
||||
.br
|
||||
.BI "void globfree(glob_t *" pglob );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
@ -205,10 +205,10 @@ for a read error, and
|
|||
for no found matches.
|
||||
.SH EXAMPLE
|
||||
One example of use is the following code, which simulates typing
|
||||
.nl
|
||||
.sp
|
||||
.B ls \-l *.c ../*.c
|
||||
.nl
|
||||
in the shell.
|
||||
.sp
|
||||
in the shell:
|
||||
.nf
|
||||
.in 10
|
||||
|
||||
|
|
|
@ -36,29 +36,29 @@ classification routines
|
|||
.B #include <ctype.h>
|
||||
.sp
|
||||
.BI "int isalnum(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isalpha(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isascii(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isblank(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int iscntrl(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isdigit(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isgraph(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int islower(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isprint(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int ispunct(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isspace(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isupper(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int isxdigit(int " "c" );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
@ -133,7 +133,7 @@ checks for an uppercase letter.
|
|||
.TP
|
||||
.BR isxdigit ()
|
||||
checks for a hexadecimal digits, i.e. one of
|
||||
.nl
|
||||
.br
|
||||
.BR "0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F" .
|
||||
.SH "RETURN VALUE"
|
||||
The values returned are non-zero if the character
|
||||
|
|
|
@ -32,11 +32,11 @@ calloc, malloc, free, realloc \- Allocate and free dynamic memory
|
|||
.B #include <stdlib.h>
|
||||
.sp
|
||||
.BI "void *calloc(size_t " "nmemb" ", size_t " "size" );
|
||||
.nl
|
||||
.br
|
||||
.BI "void *malloc(size_t " "size" );
|
||||
.nl
|
||||
.br
|
||||
.BI "void free(void " "*ptr" );
|
||||
.nl
|
||||
.br
|
||||
.BI "void *realloc(void " "*ptr" ", size_t " "size" );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -29,7 +29,6 @@ posix_fallocate \- allocate file space
|
|||
.B #include <stdlib.h>
|
||||
.sp
|
||||
.BI "int posix_fallocate(int " fd ", off_t " offset ", off_t " len );
|
||||
.nl
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The function
|
||||
|
|
|
@ -37,7 +37,6 @@ posix_memalign, memalign, valloc \- Allocate aligned memory
|
|||
.sp
|
||||
.BI "void *valloc(size_t " size );
|
||||
.BI "void *memalign(size_t " boundary ", size_t " size );
|
||||
.nl
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The function
|
||||
|
|
|
@ -29,13 +29,13 @@ fputc, fputs, putc, putchar, puts \- output of characters and strings
|
|||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "int fputc(int " c ", FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "int fputs(const char *" "s" ", FILE *" "stream" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int putc(int " c ", FILE *" stream );
|
||||
.nl
|
||||
.br
|
||||
.BI "int putchar(int " c );
|
||||
.nl
|
||||
.br
|
||||
.BI "int puts(const char *" "s" );
|
||||
.SH DESCRIPTION
|
||||
.BR fputc ()
|
||||
|
|
|
@ -36,11 +36,11 @@ random, srandom, initstate, setstate \- random number generator
|
|||
.B #include <stdlib.h>
|
||||
.sp
|
||||
.B long int random(void);
|
||||
.nl
|
||||
.br
|
||||
.BI "void srandom(unsigned int " seed );
|
||||
.nl
|
||||
.br
|
||||
.BI "char *initstate(unsigned int " seed ", char *" state ", size_t " n );
|
||||
.nl
|
||||
.br
|
||||
.BI "char *setstate(char *" state );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -76,7 +76,6 @@ int uid, gid, len, *aup.gids;
|
|||
Create and return an
|
||||
.SM RPC
|
||||
authentication handle that contains
|
||||
.UX
|
||||
authentication information.
|
||||
The parameter
|
||||
.I host
|
||||
|
|
|
@ -30,7 +30,7 @@ toupper, tolower \- convert letter to upper or lower case
|
|||
.B #include <ctype.h>
|
||||
.sp
|
||||
.BI "int toupper(int " "c" );
|
||||
.nl
|
||||
.br
|
||||
.BI "int tolower(int " "c" );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -203,7 +203,7 @@ then instead of the call:
|
|||
.sp
|
||||
.ta 3i
|
||||
gettimeofday((struct timeval *) &ut.ut_tv, NULL);
|
||||
.SP
|
||||
.sp
|
||||
.fi
|
||||
.RE
|
||||
|
||||
|
@ -218,7 +218,7 @@ struct timeval tv;
|
|||
gettimeofday(&tv, NULL);
|
||||
ut.ut_tv.tv_sec = tv.tv_sec;
|
||||
ut.ut_tv.tv_usec = tv.tv_usec;
|
||||
.SP
|
||||
.sp
|
||||
.fi
|
||||
.RE
|
||||
.SH FILES
|
||||
|
|
|
@ -269,7 +269,7 @@ Permit I/O port operations
|
|||
and
|
||||
.BR ioperm (2));
|
||||
access
|
||||
.IT /proc/kcore .
|
||||
.IR /proc/kcore .
|
||||
.TP
|
||||
.B CAP_SYS_RESOURCE
|
||||
Permit: use of reserved space on ext2 file systems;
|
||||
|
|
16
man7/uri.7
16
man7/uri.7
|
@ -226,7 +226,7 @@ An example is <news:comp.lang.ada>.
|
|||
A
|
||||
.I message-id
|
||||
corresponds to the Message-ID of
|
||||
.UR http://www.ietf.org/rfc/rfc1036.txt
|
||||
.URL http://www.ietf.org/rfc/rfc1036.txt
|
||||
IETF RFC\ 1036,
|
||||
.UE
|
||||
without the enclosing "<"
|
||||
|
@ -508,9 +508,8 @@ This latter system, called the 'new' or 'logical' quoting system by
|
|||
"Hart's Rules" and the "Oxford Dictionary for Writers and Editors",
|
||||
is preferred practice in Great Britain and hackers worldwide
|
||||
(see the
|
||||
.UR http://www.fwi.uva.nl/~mes/jargon/h/HackerWritingStyle.html
|
||||
Jargon File's section on Hacker Writing Style
|
||||
.UE
|
||||
Jargon File's section on Hacker Writing Style,
|
||||
.IR http://www.fwi.uva.nl/~mes/jargon/h/HackerWritingStyle.html ,
|
||||
for more information).
|
||||
Older documents suggested inserting the prefix "URL:"
|
||||
just before the URI, but this form has never caught on.
|
||||
|
@ -613,11 +612,10 @@ the 'userinfo' component of a URI is strongly recommended against except
|
|||
in those rare cases where the 'password' parameter is intended to be public.
|
||||
.SH "CONFORMING TO"
|
||||
.PP
|
||||
.UR http://www.ietf.org/rfc/rfc2396.txt
|
||||
IETF RFC\ 2396,
|
||||
.UE
|
||||
.UR http://www.w3.org/TR/REC-html40
|
||||
HTML 4.0.
|
||||
.IR http://www.ietf.org/rfc/rfc2396.txt
|
||||
(IETF RFC\ 2396),
|
||||
.I http://www.w3.org/TR/REC-html40
|
||||
(HTML 4.0).
|
||||
.UE
|
||||
.SH BUGS
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue