mirror of https://github.com/mkerrisk/man-pages
Various pages: Use .nf/.fi in SYNOPSIS
Fix various pages missed in commit
c7db92b96a
.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e3528453c0
commit
4653ec6ef2
|
@ -34,9 +34,11 @@
|
|||
.SH NAME
|
||||
chroot \- change root directory
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int chroot(const char *" path );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -30,11 +30,12 @@
|
|||
.SH NAME
|
||||
getdomainname, setdomainname \- get/set NIS domain name
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int getdomainname(char *" name ", size_t " len );
|
||||
.br
|
||||
.BI "int setdomainname(const char *" name ", size_t " len );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -33,11 +33,12 @@
|
|||
.SH NAME
|
||||
gethostname, sethostname \- get/set hostname
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int gethostname(char *" name ", size_t " len );
|
||||
.br
|
||||
.BI "int sethostname(const char *" name ", size_t " len );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -26,9 +26,11 @@
|
|||
.SH NAME
|
||||
getpagesize \- get memory page size
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B int getpagesize(void);
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -49,21 +49,19 @@
|
|||
.SH NAME
|
||||
setpgid, getpgid, setpgrp, getpgrp \- set/get process group
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <sys/types.h>
|
||||
.br
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int setpgid(pid_t " pid ", pid_t " pgid );
|
||||
.br
|
||||
.BI "pid_t getpgid(pid_t " pid );
|
||||
.PP
|
||||
.BR "pid_t getpgrp(void);" " /* POSIX.1 version */"
|
||||
.br
|
||||
.BI "pid_t getpgrp(pid_t " pid ");\fR /* BSD version */"
|
||||
.PP
|
||||
.BR "int setpgrp(void);" " /* System V version */"
|
||||
.br
|
||||
.BI "int setpgrp(pid_t " pid ", pid_t " pgid ");\fR /* BSD version */"
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -30,11 +30,12 @@
|
|||
.SH NAME
|
||||
vfork \- create a child process and block parent
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <sys/types.h>
|
||||
.br
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B pid_t vfork(void);
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -29,9 +29,11 @@
|
|||
.SH NAME
|
||||
vhangup \- virtually hangup the current terminal
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B int vhangup(void);
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -37,9 +37,11 @@
|
|||
.SH NAME
|
||||
daemon \- run in the background
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int daemon(int " nochdir ", int " noclose );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -28,9 +28,11 @@
|
|||
.SH NAME
|
||||
getdtablesize \- get file descriptor table size
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B int getdtablesize(void);
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -30,11 +30,12 @@
|
|||
.SH NAME
|
||||
gethostid, sethostid \- get or set the unique identifier of the current host
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B long gethostid(void);
|
||||
.br
|
||||
.BI "int sethostid(long " hostid );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -29,15 +29,16 @@
|
|||
.SH NAME
|
||||
getlogin, getlogin_r, cuserid \- get username
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.B "char *getlogin(void);"
|
||||
.br
|
||||
.BI "int getlogin_r(char *" buf ", size_t " bufsize );
|
||||
.PP
|
||||
.B #include <stdio.h>
|
||||
.PP
|
||||
.BI "char *cuserid(char *" string );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
|
@ -25,9 +25,11 @@
|
|||
.SH NAME
|
||||
getpass \- get a password
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "char *getpass(const char *" prompt );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
|
|
Loading…
Reference in New Issue