mirror of https://github.com/mkerrisk/man-pages
Fix unbalanced quotes
This commit is contained in:
parent
2866cb5315
commit
c10859eb0d
17
man2/clone.2
17
man2/clone.2
|
@ -36,20 +36,19 @@
|
|||
.SH NAME
|
||||
clone \- create a child process
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <sched.h>
|
||||
.sp
|
||||
.BI "int clone(int (*" "fn" ")(void *), void *" "child_stack" ", int " "flags" ", void *" "arg" );
|
||||
.sp
|
||||
|
||||
.BI "int clone(int (*" "fn" ")(void *), void *" child_stack \
|
||||
", int " flags ", void *" "arg" );
|
||||
|
||||
.BI "_syscall2(int, " clone ", int, " flags ", void *, " child_stack )
|
||||
.sp
|
||||
|
||||
.BI "_syscall5(int, " clone ", int, " flags ", void *, " child_stack ,
|
||||
.br
|
||||
.br
|
||||
.BI " int *, " parent_tidptr ", struct user_desc *, " newtls ,
|
||||
.br
|
||||
.BI " int *, " child_tidptr )
|
||||
.sp
|
||||
/* Using \fBsyscall\fP(2) may be preferable; see \fBintro\fP(2) */
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
.BR clone ()
|
||||
creates a new process, in a manner similar to
|
||||
|
@ -220,7 +219,7 @@ or change file descriptor flags,
|
|||
performed by either the calling
|
||||
process or the child process do not affect the other process.
|
||||
.TP
|
||||
.BR CLONE_NEWNS " (since Linux 2.4.19)
|
||||
.BR CLONE_NEWNS " (since Linux 2.4.19)"
|
||||
Start the child in a new namespace.
|
||||
|
||||
Every process lives in a namespace. The
|
||||
|
|
|
@ -193,7 +193,7 @@ was specified.
|
|||
and occurs on many other implementations.)
|
||||
.\" Kernel 2.5.21 changed things a little: during lock conversion
|
||||
.\" it is now the highest priority process that will get the lock -- mtk
|
||||
.SH SEE ALSO"
|
||||
.SH "SEE ALSO"
|
||||
.BR close (2),
|
||||
.BR dup (2),
|
||||
.BR execve (2),
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
.\" Modified 2004-11-16, mtk, Noted that the non-conformance
|
||||
.\" when SIGCHLD is being ignored is fixed in 2.6.9.
|
||||
.\"
|
||||
.TH GETRUSAGE 2 2004-11-16 "Linux 2.6.9 "Linux Programmer's Manual"
|
||||
.TH GETRUSAGE 2 2004-11-16 "Linux 2.6.9" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getrusage \- get resource usage
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -33,12 +33,12 @@ getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value
|
|||
.B #include <sys/types.h>
|
||||
.B #include <attr/xattr.h>
|
||||
.sp
|
||||
.BI "ssize_t getxattr (const char\ *" path ", const char\ *" name ",
|
||||
.BI "\t\t\t\t void\ *" value ", size_t " size );
|
||||
.BI "ssize_t lgetxattr (const char\ *" path ", const char\ *" name ",
|
||||
.BI "\t\t\t\t void\ *" value ", size_t " size );
|
||||
.BI "ssize_t fgetxattr (int " filedes ", const char\ *" name ",
|
||||
.BI "\t\t\t\t void\ *" value ", size_t " size );
|
||||
.BI "ssize_t getxattr(const char\ *" path ", const char\ *" name ,
|
||||
.BI " void\ *" value ", size_t " size );
|
||||
.BI "ssize_t lgetxattr(const char\ *" path ", const char\ *" name ,
|
||||
.BI " void\ *" value ", size_t " size );
|
||||
.BI "ssize_t fgetxattr(int " filedes ", const char\ *" name ,
|
||||
.BI " void\ *" value ", size_t " size );
|
||||
.fi
|
||||
.fam T
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -33,12 +33,11 @@ listxattr, llistxattr, flistxattr \- list extended attribute names
|
|||
.B #include <sys/types.h>
|
||||
.B #include <attr/xattr.h>
|
||||
.sp
|
||||
.BI "ssize_t listxattr (const char\ *" path ",
|
||||
.BI "\t\t\t\t char\ *" list ", size_t " size );
|
||||
.BI "ssize_t llistxattr (const char\ *" path ",
|
||||
.BI "\t\t\t\t char\ *" list ", size_t " size );
|
||||
.BI "ssize_t flistxattr (int " filedes ",
|
||||
.BI "\t\t\t\t char\ *" list ", size_t " size );
|
||||
.BI "ssize_t listxattr(const char\ *" path ", char\ *" list \
|
||||
", size_t " size );
|
||||
.BI "ssize_t llistxattr(const char\ *" path ", char\ *" list \
|
||||
", size_t " size );
|
||||
.BI "ssize_t flistxattr(int " filedes ", char\ *" list ", size_t " size );
|
||||
.fi
|
||||
.fam T
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
.\"
|
||||
.TH QUERY_MODULE 2 "2002" "Linux" "Linux Module Support"
|
||||
.SH NAME
|
||||
query_module \- query the kernel for various bits pertaining to modules.
|
||||
query_module \- query the kernel for various bits pertaining to modules
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <linux/module.h>
|
||||
.sp
|
||||
.BI "int query_module(const char *" name ", int " which ",
|
||||
.BI "void *" buf ", size_t " bufsize ", size_t *" ret );
|
||||
.BI "int query_module(const char *" name ", int " which ", void *" buf ,
|
||||
.BI " size_t " bufsize ", size_t *" ret );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
.BR query_module ()
|
||||
|
|
|
@ -33,12 +33,12 @@ setxattr, lsetxattr, fsetxattr \- set an extended attribute value
|
|||
.B #include <sys/types.h>
|
||||
.B #include <attr/xattr.h>
|
||||
.sp
|
||||
.BI "int setxattr (const char\ *" path ", const char\ *" name ",
|
||||
.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );
|
||||
.BI "int lsetxattr (const char\ *" path ", const char\ *" name ",
|
||||
.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );
|
||||
.BI "int fsetxattr (int " filedes ", const char\ *" name ",
|
||||
.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );
|
||||
.BI "int setxattr(const char\ *" path ", const char\ *" name ,
|
||||
.BI " const void\ *" value ", size_t " size ", int " flags );
|
||||
.BI "int lsetxattr(const char\ *" path ", const char\ *" name ,
|
||||
.BI " const void\ *" value ", size_t " size ", int " flags );
|
||||
.BI "int fsetxattr(int " filedes ", const char\ *" name ,
|
||||
.BI " const void\ *" value ", size_t " size ", int " flags );
|
||||
.fi
|
||||
.fam T
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
.\" attaches to a segment that has already been marked for deletion.
|
||||
.\" 2005-08-02, mtk: Added IPC_INFO, SHM_INFO, SHM_STAT descriptions.
|
||||
.\"
|
||||
.TH SHMCTL 2 2005-05-30 Linux 2.6.11" "Linux Programmer's Manual"
|
||||
.TH SHMCTL 2 2005-05-30 "Linux 2.6.11" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
shmctl \- shared memory control
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -26,7 +26,7 @@ sigqueue \- queue a signal and data to a process
|
|||
.SH SYNOPSIS
|
||||
.B #include <signal.h>
|
||||
.sp
|
||||
.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value ");
|
||||
.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value );
|
||||
.SH DESCRIPTION
|
||||
.BR sigqueue ()
|
||||
sends the signal specified in
|
||||
|
|
|
@ -58,8 +58,8 @@ wait, waitpid \- wait for process to change state
|
|||
.br
|
||||
.BI "pid_t waitpid(pid_t " pid ", int *" status ", int " options );
|
||||
.br
|
||||
.BI "int waitid(idtype_t " idtype ", id_t " id ", \
|
||||
siginfo_t *" infop ", int " options );
|
||||
.BI "int waitid(idtype_t " idtype ", id_t " id \
|
||||
", siginfo_t *" infop ", int " options );
|
||||
.SH DESCRIPTION
|
||||
All of these system calls are used to wait for state changes
|
||||
in a child of the calling process, and obtain information
|
||||
|
|
|
@ -150,7 +150,7 @@ and the default if neither flag is specified.
|
|||
Symbols defined in this library are not made available to resolve
|
||||
references in subsequently loaded libraries.
|
||||
.TP
|
||||
.BR RTLD_NODELETE " (since glibc 2.2)
|
||||
.BR RTLD_NODELETE " (since glibc 2.2)"
|
||||
Do not unload the library during
|
||||
.BR dlclose ().
|
||||
Consequently, the library's static variables are not reinitialised
|
||||
|
@ -160,7 +160,7 @@ at a later time.
|
|||
This flag is not specified in POSIX.1-2001.
|
||||
.\" (But it is present on Solaris.)
|
||||
.TP
|
||||
.BR RTLD_NOLOAD " (since glibc 2.2)
|
||||
.BR RTLD_NOLOAD " (since glibc 2.2)"
|
||||
Don't load the library.
|
||||
This can be used to test if the library is already resident
|
||||
.RB ( dlopen ()
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
dysize \- get number of days for a given year
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.BR "#define _BSD_SOURCE" " /* or: #define _SVID_SOURCE */
|
||||
.BR "#define _BSD_SOURCE" " /* or: #define _SVID_SOURCE */"
|
||||
.br
|
||||
.BR "#include <time.h>
|
||||
.BR "#include <time.h>"
|
||||
.sp
|
||||
.BI "int dysize(int " year );
|
||||
.sp
|
||||
|
|
|
@ -47,7 +47,7 @@ getmntent_r \- get file system descriptor file entry
|
|||
.BI "char *hasmntopt(const struct mntent *" mnt ", const char *" opt );
|
||||
.sp
|
||||
/* GNU extension */
|
||||
.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */
|
||||
.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */"
|
||||
.B #include <mntent.h>
|
||||
.sp
|
||||
.BI "struct mntent *getmntent_r(FILE *" fp ", struct mntent *" mntbuf ,
|
||||
|
|
|
@ -34,7 +34,7 @@ lckpwdf, ulckpwdf \- get shadow password file entry
|
|||
.sp
|
||||
/* GNU extension */
|
||||
.br
|
||||
.BR "#define _SVID_SOURCE" " /* or _BSD_SOURCE */
|
||||
.BR "#define _SVID_SOURCE" " /* or _BSD_SOURCE */"
|
||||
.br
|
||||
.B #include <shadow.h>
|
||||
.sp
|
||||
|
|
|
@ -88,7 +88,7 @@ overwritten by subsequent calls.
|
|||
These above functions are not thread-safe. Glibc adds reentrant versions
|
||||
.sp
|
||||
.nf
|
||||
.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */
|
||||
.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */"
|
||||
.B #include <utmp.h>
|
||||
.sp
|
||||
.BI "int getutent_r(struct utmp *" ubuf ", struct utmp **" ubufp );
|
||||
|
|
|
@ -11,17 +11,17 @@ to test a relation
|
|||
.nf
|
||||
.B #include <math.h>
|
||||
.sp
|
||||
.BI "int isgreater(x,y);
|
||||
.BI "int isgreater(x,y);"
|
||||
.sp
|
||||
.BI "int isgreaterequal(x,y);
|
||||
.BI "int isgreaterequal(x,y);"
|
||||
.sp
|
||||
.BI "int isless(x,y);
|
||||
.BI "int isless(x,y);"
|
||||
.sp
|
||||
.BI "int islessequal(x,y);
|
||||
.BI "int islessequal(x,y);"
|
||||
.sp
|
||||
.BI "int islessgreater(x,y);
|
||||
.BI "int islessgreater(x,y);"
|
||||
.sp
|
||||
.BI "int isunordered(x,y);
|
||||
.BI "int isunordered(x,y);"
|
||||
.fi
|
||||
.sp
|
||||
Compile with \-std=c99; link with \-lm.
|
||||
|
|
|
@ -26,10 +26,10 @@ makecontext, swapcontext \- manipulate user context
|
|||
.SH SYNOPSIS
|
||||
.B #include <ucontext.h>
|
||||
.sp
|
||||
.BI "void makecontext(ucontext_t *" ucp ", void *" func "(),
|
||||
.BI "void makecontext(ucontext_t *" ucp ", void *" func (),
|
||||
.BI "int " argc ", ...);"
|
||||
.br
|
||||
.BI "int swapcontext (ucontext_t *" oucp ", ucontext_t *" ucp );
|
||||
.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp );
|
||||
.SH DESCRIPTION
|
||||
In a System V-like environment, one has the type \fBucontext_t\fP defined in
|
||||
.I <ucontext.h>
|
||||
|
|
|
@ -44,7 +44,7 @@ __fbufsize, __flbf, __fpending, __fpurge, __freadable, __freading, __fsetlocking
|
|||
.br
|
||||
.BI "int __fsetlocking(FILE *" stream ", int " type );
|
||||
.br
|
||||
.BI "void _flushlbf(void);
|
||||
.BI "void _flushlbf(void);"
|
||||
.br
|
||||
.BI "void __fpurge(FILE *" stream );
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -37,7 +37,7 @@ Often one has files
|
|||
and it feels wrong when
|
||||
.B ls
|
||||
orders them
|
||||
.IR jan1 ", " jan10 ", ..., " jan2 ", ..., " jan9 ".
|
||||
.IR jan1 ", " jan10 ", ..., " jan2 ", ..., " jan9 .
|
||||
.\" classical solution: "rename jan jan0 jan?"
|
||||
In order to rectify this, GNU introduced the
|
||||
.B \-v
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
.BI "int putc_unlocked(int " c ", FILE *" stream );
|
||||
.BI "int putchar_unlocked(int " c );
|
||||
.sp
|
||||
.BR "#define _BSD_SOURCE" " /* or _SVID_SOURCE or _GNU_SOURCE */
|
||||
.BR "#define _BSD_SOURCE" " /* or _SVID_SOURCE or _GNU_SOURCE */"
|
||||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "void clearerr_unlocked(FILE *" stream );
|
||||
|
|
|
@ -43,7 +43,7 @@ usleep \- suspend execution for microsecond intervals
|
|||
.br
|
||||
.B "#include <unistd.h>"
|
||||
.sp
|
||||
.BI "int usleep(useconds_t " usec ");
|
||||
.BI "int usleep(useconds_t " usec );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The \fBusleep\fP() function suspends execution of the calling process for
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
.TH INITRD 4 1997-11-06 "Linux 2.0" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
initrd \- boot loader initialized RAM disk
|
||||
.\"
|
||||
.\"
|
||||
.\"
|
||||
.SH DESCRIPTION
|
||||
The special file
|
||||
.I /dev/initrd
|
||||
|
@ -146,10 +143,13 @@ The following boot loader options when used with
|
|||
.BI initrd= "filename"
|
||||
Specifies the file to load as the contents of
|
||||
.IR /dev/initrd "."
|
||||
.RB "For " LOADLIN
|
||||
For
|
||||
.B LOADLIN
|
||||
this is a command line option.
|
||||
.RB "For " LILO " you have to use this command in the
|
||||
.BR LILO
|
||||
For
|
||||
.B LILO
|
||||
you have to use this command in the
|
||||
.B LILO
|
||||
configuration file
|
||||
.IR /etc/lilo.config .
|
||||
The filename specified with this
|
||||
|
|
|
@ -359,7 +359,7 @@ If N=1, do load a ramdisk. If N=0, do not load a ramdisk.
|
|||
If N=1, do prompt for insertion of the floppy. (This is the default.)
|
||||
If N=0, do not prompt. (Thus, this parameter is never needed.)
|
||||
|
||||
.SS "`ramdisk_size=N' or (obsolete) `ramdisk=N'
|
||||
.SS "`ramdisk_size=N' or (obsolete) `ramdisk=N'"
|
||||
Set the maximal size of the ramdisk(s) to N kB. The default is 4096 (4 MB).
|
||||
|
||||
.SS "`ramdisk_start=N'"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
.\" account for changes since 1995. Route-addrs are now even less
|
||||
.\" common, etc. Some minor wording improvements. Same copyright.
|
||||
.\"
|
||||
.TH MAILADDR 7 2004-09-15 linux "Linux User's Manual" \" -*- nroff -*-
|
||||
.TH MAILADDR 7 2004-09-15 Linux "Linux User's Manual"
|
||||
.UC 5
|
||||
.SH NAME
|
||||
mailaddr \- mail addressing description
|
||||
|
|
Loading…
Reference in New Issue