aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/chroot.22
-rw-r--r--man2/getdomainname.23
-rw-r--r--man2/gethostname.23
-rw-r--r--man2/getpagesize.22
-rw-r--r--man2/setpgid.26
-rw-r--r--man2/vfork.23
-rw-r--r--man2/vhangup.22
-rw-r--r--man3/daemon.32
-rw-r--r--man3/getdtablesize.32
-rw-r--r--man3/gethostid.33
-rw-r--r--man3/getlogin.33
-rw-r--r--man3/getpass.32
12 files changed, 24 insertions, 9 deletions
diff --git a/man2/chroot.2 b/man2/chroot.2
index d9eb51e476..ea7deffdf0 100644
--- a/man2/chroot.2
+++ b/man2/chroot.2
@@ -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
diff --git a/man2/getdomainname.2 b/man2/getdomainname.2
index f83ac31865..f5cb2035af 100644
--- a/man2/getdomainname.2
+++ b/man2/getdomainname.2
@@ -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
diff --git a/man2/gethostname.2 b/man2/gethostname.2
index 71ac72f2ba..def1f37b59 100644
--- a/man2/gethostname.2
+++ b/man2/gethostname.2
@@ -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
diff --git a/man2/getpagesize.2 b/man2/getpagesize.2
index 1bbcbd54b8..3cd709a9dc 100644
--- a/man2/getpagesize.2
+++ b/man2/getpagesize.2
@@ -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
diff --git a/man2/setpgid.2 b/man2/setpgid.2
index 00fd7e661f..72be36f7cb 100644
--- a/man2/setpgid.2
+++ b/man2/setpgid.2
@@ -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
diff --git a/man2/vfork.2 b/man2/vfork.2
index cd25a08605..3bc2cdd579 100644
--- a/man2/vfork.2
+++ b/man2/vfork.2
@@ -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
diff --git a/man2/vhangup.2 b/man2/vhangup.2
index d435921239..321a5e5d1d 100644
--- a/man2/vhangup.2
+++ b/man2/vhangup.2
@@ -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
diff --git a/man3/daemon.3 b/man3/daemon.3
index b6f6a0f8f7..6a0345bda4 100644
--- a/man3/daemon.3
+++ b/man3/daemon.3
@@ -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
diff --git a/man3/getdtablesize.3 b/man3/getdtablesize.3
index f91531b244..41b3afe694 100644
--- a/man3/getdtablesize.3
+++ b/man3/getdtablesize.3
@@ -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
diff --git a/man3/gethostid.3 b/man3/gethostid.3
index 8baf06869c..df8e8557bc 100644
--- a/man3/gethostid.3
+++ b/man3/gethostid.3
@@ -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
diff --git a/man3/getlogin.3 b/man3/getlogin.3
index 40809d55b1..41ab637177 100644
--- a/man3/getlogin.3
+++ b/man3/getlogin.3
@@ -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
diff --git a/man3/getpass.3 b/man3/getpass.3
index b59fc1fce4..5a6caeb89e 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -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