aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/dbopen.32
-rw-r--r--man3/dladdr.32
-rw-r--r--man3/ether_aton.32
-rw-r--r--man3/fenv.32
-rw-r--r--man3/fgetgrent.32
-rw-r--r--man3/fgetpwent.32
-rw-r--r--man3/frexp.32
-rw-r--r--man3/ftime.32
-rw-r--r--man3/gamma.34
-rw-r--r--man3/getaddrinfo.32
-rw-r--r--man3/getaddrinfo_a.32
-rw-r--r--man3/getgrent_r.38
-rw-r--r--man3/getgrnam.32
-rw-r--r--man3/gethostbyname.32
-rw-r--r--man3/getifaddrs.32
-rw-r--r--man3/getipnodebyname.32
-rw-r--r--man3/getmntent.32
-rw-r--r--man3/getnetent.32
-rw-r--r--man3/getprotoent.32
-rw-r--r--man3/getpw.32
-rw-r--r--man3/getpwent.32
-rw-r--r--man3/getpwent_r.38
-rw-r--r--man3/getpwnam.32
-rw-r--r--man3/getservent.32
-rw-r--r--man3/getspnam.32
-rw-r--r--man3/getutent.34
-rw-r--r--man3/glob.34
-rw-r--r--man3/hsearch.34
-rw-r--r--man3/if_nameindex.32
-rw-r--r--man3/inet.32
-rw-r--r--man3/mq_receive.32
-rw-r--r--man3/putgrent.34
-rw-r--r--man3/putpwent.32
-rw-r--r--man3/rand.32
-rw-r--r--man3/sigqueue.32
-rw-r--r--man3/strfromd.322
-rw-r--r--man3/strptime.34
-rw-r--r--man3/strtol.32
-rw-r--r--man3/termios.32
-rw-r--r--man3/timeradd.32
40 files changed, 62 insertions, 62 deletions
diff --git a/man3/dbopen.3 b/man3/dbopen.3
index 3ff075b9e4..b583d69ba4 100644
--- a/man3/dbopen.3
+++ b/man3/dbopen.3
@@ -151,7 +151,7 @@ structure is defined in the
.I <db.h>
include file, and contains at
least the following fields:
-.sp
+.PP
.in +4n
.nf
typedef struct {
diff --git a/man3/dladdr.3 b/man3/dladdr.3
index 971cb10976..284a3af456 100644
--- a/man3/dladdr.3
+++ b/man3/dladdr.3
@@ -52,7 +52,7 @@ returns information about the shared object and symbol that overlaps
This information is returned in a
.I Dl_info
structure:
-.sp
+.PP
.in +4n
.nf
typedef struct {
diff --git a/man3/ether_aton.3 b/man3/ether_aton.3
index 09c1b9d018..5d43e9ae20 100644
--- a/man3/ether_aton.3
+++ b/man3/ether_aton.3
@@ -116,7 +116,7 @@ The structure
is defined in
.I <net/ethernet.h>
as:
-.sp
+.PP
.in +4n
.nf
struct ether_addr {
diff --git a/man3/fenv.3 b/man3/fenv.3
index 1c8a8b1000..7a93e83920 100644
--- a/man3/fenv.3
+++ b/man3/fenv.3
@@ -320,7 +320,7 @@ to query the state.
.EX
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B "#include <fenv.h>"
-.sp
+.PP
.BI "int feenableexcept(int " excepts );
.BI "int fedisableexcept(int " excepts );
.B "int fegetexcept(void);"
diff --git a/man3/fgetgrent.3 b/man3/fgetgrent.3
index cc1599ebd8..ca3104a72f 100644
--- a/man3/fgetgrent.3
+++ b/man3/fgetgrent.3
@@ -65,7 +65,7 @@ must have the same format as
.BR group (5)).
.PP
The \fIgroup\fP structure is defined in \fI<grp.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct group {
diff --git a/man3/fgetpwent.3 b/man3/fgetpwent.3
index d597a8d07a..cfeb8c1fc1 100644
--- a/man3/fgetpwent.3
+++ b/man3/fgetpwent.3
@@ -67,7 +67,7 @@ must have the same format as
.BR passwd (5)).
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct passwd {
diff --git a/man3/frexp.3 b/man3/frexp.3
index 0d11a77c55..050a785bd9 100644
--- a/man3/frexp.3
+++ b/man3/frexp.3
@@ -122,7 +122,7 @@ also conforms to
SVr4, 4.3BSD, C89.
.SH EXAMPLE
The program below produces results such as the following:
-.sp
+.PP
.nf
.in +4n
.RB "$" " ./a.out 2560"
diff --git a/man3/ftime.3 b/man3/ftime.3
index 4ac01e5ce8..7f153b7296 100644
--- a/man3/ftime.3
+++ b/man3/ftime.3
@@ -40,7 +40,7 @@ since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
The time is returned in
.IR tp ,
which is declared as follows:
-.sp
+.PP
.in +4n
.nf
struct timeb {
diff --git a/man3/gamma.3 b/man3/gamma.3
index c6d69160bd..df15f74cec 100644
--- a/man3/gamma.3
+++ b/man3/gamma.3
@@ -96,12 +96,12 @@ in the external integer
In 4.3BSD the name was changed to
.BR lgamma (3),
and the man page promises
-.sp
+.PP
.in +4n
"At some time in the future the name gamma will be rehabilitated
and used for the Gamma function"
.in
-.sp
+.PP
This did indeed happen in 4.4BSD, where
.BR gamma ()
computes the Gamma function (with no effect on
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 77376fbc10..24ff8863bd 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -103,7 +103,7 @@ The
structure used by
.BR getaddrinfo ()
contains the following fields:
-.sp
+.PP
.in +4n
.nf
struct addrinfo {
diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
index b00a461f33..3fa1349f1b 100644
--- a/man3/getaddrinfo_a.3
+++ b/man3/getaddrinfo_a.3
@@ -86,7 +86,7 @@ are ignored.
Each request is described by a
.I gaicb
structure, defined as follows:
-.sp
+.PP
.in +4n
.nf
struct gaicb {
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3
index 274b2aad1a..2511a957e2 100644
--- a/man3/getgrent_r.3
+++ b/man3/getgrent_r.3
@@ -68,7 +68,7 @@ The latter reads the next group entry from
The \fIgroup\fP structure is defined in
.I <grp.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct group {
@@ -150,16 +150,16 @@ These functions are GNU extensions, done in a style resembling
the POSIX version of functions like
.BR getpwnam_r (3).
Other systems use the prototype
-.sp
+.PP
.in +4n
.nf
struct group *getgrent_r(struct group *grp, char *buf,
int buflen);
.fi
.in
-.sp
+.PP
or, better,
-.sp
+.PP
.in +4n
.nf
int getgrent_r(struct group *grp, char *buf, int buflen,
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 61be7abd07..52035a13fb 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -83,7 +83,7 @@ that matches the group ID
.IR gid .
.PP
The \fIgroup\fP structure is defined in \fI<grp.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct group {
diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3
index 0b415b0cea..58be1fe882 100644
--- a/man3/gethostbyname.3
+++ b/man3/gethostbyname.3
@@ -258,7 +258,7 @@ keyword was used to control the order of host lookups as defined in
.PP
.PP
The \fIhostent\fP structure is defined in \fI<netdb.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct hostent {
diff --git a/man3/getifaddrs.3 b/man3/getifaddrs.3
index fd8be4db70..d7b03a563f 100644
--- a/man3/getifaddrs.3
+++ b/man3/getifaddrs.3
@@ -55,7 +55,7 @@ and stores the address of the first item of the list in
The list consists of
.I ifaddrs
structures, defined as follows:
-.sp
+.PP
.in +4n
.nf
struct ifaddrs {
diff --git a/man3/getipnodebyname.3 b/man3/getipnodebyname.3
index f06eb35363..a8f3e2ac51 100644
--- a/man3/getipnodebyname.3
+++ b/man3/getipnodebyname.3
@@ -56,7 +56,7 @@ and
functions return the names and addresses of a network host.
These functions return a pointer to the
following structure:
-.sp
+.PP
.in +4n
.nf
struct hostent {
diff --git a/man3/getmntent.3 b/man3/getmntent.3
index 1ccbe35c3b..945d364578 100644
--- a/man3/getmntent.3
+++ b/man3/getmntent.3
@@ -149,7 +149,7 @@ The
structure is defined in
.I <mntent.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct mntent {
diff --git a/man3/getnetent.3 b/man3/getnetent.3
index f616005b6f..6e7af6b0d9 100644
--- a/man3/getnetent.3
+++ b/man3/getnetent.3
@@ -99,7 +99,7 @@ The
structure is defined in
.I <netdb.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct netent {
diff --git a/man3/getprotoent.3 b/man3/getprotoent.3
index b0c41a45e5..5f1a064446 100644
--- a/man3/getprotoent.3
+++ b/man3/getprotoent.3
@@ -97,7 +97,7 @@ The
structure is defined in
.I <netdb.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct protoent {
diff --git a/man3/getpw.3 b/man3/getpw.3
index dfdc259e07..94b51b2a32 100644
--- a/man3/getpw.3
+++ b/man3/getpw.3
@@ -54,7 +54,7 @@ The returned buffer contains a line of format
.in
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct passwd {
diff --git a/man3/getpwent.3 b/man3/getpwent.3
index 132102a851..dbf3f77e33 100644
--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -85,7 +85,7 @@ function is used to close the password database
after all processing has been performed.
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct passwd {
diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3
index 0a1db7e5be..baf88a756d 100644
--- a/man3/getpwent_r.3
+++ b/man3/getpwent_r.3
@@ -68,7 +68,7 @@ The latter reads the next passwd entry from
The \fIpasswd\fP structure is defined in
.I <pwd.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct passwd {
@@ -152,16 +152,16 @@ These functions are GNU extensions, done in a style resembling
the POSIX version of functions like
.BR getpwnam_r (3).
Other systems use the prototype
-.sp
+.PP
.in +4n
.nf
struct passwd *
getpwent_r(struct passwd *pwd, char *buf, int buflen);
.fi
.in
-.sp
+.PP
or, better,
-.sp
+.PP
.nf
.in +4n
int
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
index d965a90473..de8a702452 100644
--- a/man3/getpwnam.3
+++ b/man3/getpwnam.3
@@ -85,7 +85,7 @@ that matches the user ID
.IR uid .
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct passwd {
diff --git a/man3/getservent.3 b/man3/getservent.3
index 78b9861c11..0ca958b3ea 100644
--- a/man3/getservent.3
+++ b/man3/getservent.3
@@ -112,7 +112,7 @@ The
structure is defined in
.I <netdb.h>
as follows:
-.sp
+.PP
.in +4n
.nf
struct servent {
diff --git a/man3/getspnam.3 b/man3/getspnam.3
index dc4e81e3ae..4cfac0edde 100644
--- a/man3/getspnam.3
+++ b/man3/getspnam.3
@@ -186,7 +186,7 @@ often with different prototypes.
.\" SUN doesn't have sgetspent_r()
.SS Structure
The shadow password structure is defined in \fI<shadow.h>\fP as follows:
-.sp
+.PP
.in +4n
.nf
struct spwd {
diff --git a/man3/getutent.3 b/man3/getutent.3
index d3ced4394c..4b4dc73074 100644
--- a/man3/getutent.3
+++ b/man3/getutent.3
@@ -285,7 +285,7 @@ Glibc adds reentrant versions
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
-.sp
+.PP
.BR getutent_r (),
.BR getutid_r (),
.BR getutline_r ():
@@ -294,7 +294,7 @@ Feature Test Macro Requirements for glibc (see
|| /* since glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
-.sp
+.PP
These functions are GNU extensions, analogs of the functions of the
same name without the _r suffix.
The
diff --git a/man3/glob.3 b/man3/glob.3
index 73eac9d268..9513b467b3 100644
--- a/man3/glob.3
+++ b/man3/glob.3
@@ -331,13 +331,13 @@ These will store their error code in
.IR errno .
.SH EXAMPLE
One example of use is the following code, which simulates typing
-.sp
+.PP
.in +4n
.EX
ls \-l *.c ../*.c
.EE
.in
-.sp
+.PP
in the shell:
.nf
.in +4n
diff --git a/man3/hsearch.3 b/man3/hsearch.3
index 1a934aac66..c267dfd9c3 100644
--- a/man3/hsearch.3
+++ b/man3/hsearch.3
@@ -126,7 +126,7 @@ and if successful returns a pointer to it.
The argument \fIitem\fP is of type \fIENTRY\fP, which is defined in
\fI<search.h>\fP as follows:
.in +4n
-.sp
+.PP
.nf
typedef struct entry {
char *key;
@@ -134,7 +134,7 @@ typedef struct entry {
} ENTRY;
.in
.fi
-.sp
+.PP
The field \fIkey\fP points to a null-terminated string which is the
search key.
The field \fIdata\fP points to data that is associated with that key.
diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3
index 06391172af..cb194d9d21 100644
--- a/man3/if_nameindex.3
+++ b/man3/if_nameindex.3
@@ -43,7 +43,7 @@ about one of the network interfaces on the local system.
The
.I if_nameindex
structure contains at least the following entries:
-.sp
+.PP
.in +4n
.EX
unsigned int if_index; /* Index of interface (1, 2, ...) */
diff --git a/man3/inet.3 b/man3/inet.3
index 168c352585..947b01db6d 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -210,7 +210,7 @@ and
is defined in
.I <netinet/in.h>
as:
-.sp
+.PP
.in +4n
.EX
typedef uint32_t in_addr_t;
diff --git a/man3/mq_receive.3 b/man3/mq_receive.3
index d94b5a55b9..68411703bc 100644
--- a/man3/mq_receive.3
+++ b/man3/mq_receive.3
@@ -95,7 +95,7 @@ points to a structure which specifies how long the call will block.
This value is an absolute timeout in seconds and nanoseconds
since the Epoch, 1970-01-01 00:00:00 +0000 (UTC),
specified in the following structure:
-.sp
+.PP
.in +4n
.nf
struct timespec {
diff --git a/man3/putgrent.3 b/man3/putgrent.3
index f331af1b75..daea8ff86c 100644
--- a/man3/putgrent.3
+++ b/man3/putgrent.3
@@ -23,11 +23,11 @@ The function writes the content of the provided
into the
.IR stream .
The list of group members must be NULL-terminated or NULL-initialized.
-.sp
+.PP
The
.IR "struct group"
is defined as follows:
-.sp
+.PP
.in +4n
.EX
struct group {
diff --git a/man3/putpwent.3 b/man3/putpwent.3
index b3fca6ee14..8b6bfab6cd 100644
--- a/man3/putpwent.3
+++ b/man3/putpwent.3
@@ -56,7 +56,7 @@ function writes a password entry from the
structure \fIp\fP in the file associated with \fIstream\fP.
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
-.sp
+.PP
.in +4n
.EX
struct passwd {
diff --git a/man3/rand.3 b/man3/rand.3
index 17117d1002..c7984d44c9 100644
--- a/man3/rand.3
+++ b/man3/rand.3
@@ -183,7 +183,7 @@ POSIX.1-2001 gives the following example of an implementation of
and
.BR srand (),
possibly useful when one needs the same sequence on two different machines.
-.sp
+.PP
.in +4n
.EX
static unsigned long next = 1;
diff --git a/man3/sigqueue.3 b/man3/sigqueue.3
index 39b79667f8..567dd18b30 100644
--- a/man3/sigqueue.3
+++ b/man3/sigqueue.3
@@ -57,7 +57,7 @@ The
.I value
argument is used to specify an accompanying item of data (either an integer
or a pointer value) to be sent with the signal, and has the following type:
-.sp
+.PP
.in +4n
.EX
union sigval {
diff --git a/man3/strfromd.3 b/man3/strfromd.3
index b51380d5ea..3c75404c21 100644
--- a/man3/strfromd.3
+++ b/man3/strfromd.3
@@ -70,13 +70,13 @@ At most
.I n
characters are stored into
.IR str .
-.sp
+.PP
The terminating null character ('\\0') is written if and only if
.I n
is sufficiently large, otherwise the written string is truncated at
.I n
characters.
-.sp
+.PP
The
.BR strfromd (),
.BR strfromf (),
@@ -111,7 +111,7 @@ Finally, the format string should have one of the conversion specifiers
.BR g ,
or
.BR G .
-.sp
+.PP
The conversion specifier is applied based on the floating-point type
indicated by the function suffix.
Therefore, unlike
@@ -120,7 +120,7 @@ the format string does not have a length modifier character.
See
.BR snprintf (3)
for a detailed description of these conversion specifiers.
-.sp
+.PP
The implementation conforms to the C99 standard on conversion of NaN and
infinity values:
.PP
@@ -142,7 +142,7 @@ If
.BR E ,
.BR G )
is the conversion specifier, the conversion is to "NAN" or "-NAN".
-.sp
+.PP
Likewise if
.I fp
is infinity, it is converted to [-]inf or [-]INF.
@@ -179,7 +179,7 @@ For an explanation of the terms used in this section, see
and the
.B POSIX Safety Concepts
section in GNU C Library manual.
-.sp
+.PP
.TS
allbox;
lbw11 lb lb
@@ -209,7 +209,7 @@ category of the current locale.
.SH EXAMPLES
To convert the value 12.1 as a float type to a string using decimal
notation, resulting in "12.100000":
-.sp
+.PP
.in +4
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
@@ -219,10 +219,10 @@ char s[ssize];
strfromf(s, ssize, "%f", 12.1);
.EE
.in
-.sp
+.PP
To convert the value 12.3456 as a float type to a string using
decimal notation with two digits of precision, resulting in "12.35":
-.sp
+.PP
.in +4
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
@@ -232,10 +232,10 @@ char s[ssize];
strfromf(s, ssize, "%.2f", 12.3456);
.EE
.in
-.sp
+.PP
To convert the value 12.345e19 as a double type to a string using
scientific notation with zero digits of precision, resulting in "1E+20":
-.sp
+.PP
.in +4
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
diff --git a/man3/strptime.3 b/man3/strptime.3
index 552cbdf1f2..8e8316ba11 100644
--- a/man3/strptime.3
+++ b/man3/strptime.3
@@ -57,7 +57,7 @@ The broken-down time structure
is defined in
.IR <time.h>
as follows:
-.sp
+.PP
.in +4n
.EX
struct tm {
@@ -417,7 +417,7 @@ The following example demonstrates the use of
.BR strptime ()
and
.BR strftime (3).
-.sp
+.PP
.EX
#define _XOPEN_SOURCE
#include <stdio.h>
diff --git a/man3/strtol.3 b/man3/strtol.3
index c661e4fa5c..d828ebff25 100644
--- a/man3/strtol.3
+++ b/man3/strtol.3
@@ -200,7 +200,7 @@ these functions may accept other,
implementation-defined numeric strings.
.LP
BSD also has
-.sp
+.PP
.in +4n
.EX
.BI "quad_t strtoq(const char *" nptr ", char **" endptr ", int " base );
diff --git a/man3/termios.3 b/man3/termios.3
index 18881a06d0..0b96825ee0 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -92,7 +92,7 @@ provided to control asynchronous communications ports.
Many of the functions described here have a \fItermios_p\fP argument
that is a pointer to a \fItermios\fP structure.
This structure contains at least the following members:
-.sp
+.PP
.in +4n
.EX
tcflag_t c_iflag; /* input modes */
diff --git a/man3/timeradd.3 b/man3/timeradd.3
index cf6d061f77..893de4f6e0 100644
--- a/man3/timeradd.3
+++ b/man3/timeradd.3
@@ -60,7 +60,7 @@ The macros are provided to operate on
structures, defined in
.I <sys/time.h>
as:
-.sp
+.PP
.in +4n
.EX
struct timeval {