summaryrefslogtreecommitdiffstats
path: root/man3type
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 00:45:17 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 00:46:05 +0200
commit8c9f08d6978147b95d5d846bd5c3e057b67fa05d (patch)
tree83c054fcbeb6b1652d8989240eb313c230f47b75 /man3type
parent3b33bf22dd77c9099e5040fe9f3882bb5753ca2f (diff)
Various pages: SYNOPSIS: ffix
Enclose struct/union definitions in EX/EE. nf/fi produces alignment issues in output devices where the font is not monospaced. EX/EE forces use of monospaced font, so it's more appropriate to format SYNOPSIS that contain structure types, where alignment is essential. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3type')
-rw-r--r--man3type/aiocb.3type4
-rw-r--r--man3type/div_t.3type4
-rw-r--r--man3type/epoll_event.3type4
-rw-r--r--man3type/iovec.3type4
-rw-r--r--man3type/itimerspec.3type4
-rw-r--r--man3type/lconv.3type4
-rw-r--r--man3type/regex_t.3type4
-rw-r--r--man3type/sockaddr.3type12
-rw-r--r--man3type/stat.3type4
-rw-r--r--man3type/timespec.3type4
-rw-r--r--man3type/timeval.3type4
-rw-r--r--man3type/tm.3type4
12 files changed, 28 insertions, 28 deletions
diff --git a/man3type/aiocb.3type b/man3type/aiocb.3type
index ae53f2cb2..af9297f47 100644
--- a/man3type/aiocb.3type
+++ b/man3type/aiocb.3type
@@ -11,7 +11,7 @@ aiocb \- asynchronous I/O control block
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <aio.h>
.PP
.B struct aiocb {
@@ -23,7 +23,7 @@ Standard C library
.BR " struct sigevent aio_sigevent;" " /* Signal number and value */"
.BR " int aio_lio_opcode;" " /* Operation to be performed */"
.B };
-.fi
+.EE
.SH DESCRIPTION
For further information about this structure, see
.BR aio (7).
diff --git a/man3type/div_t.3type b/man3type/div_t.3type
index 0034312b3..fe2b74284 100644
--- a/man3type/div_t.3type
+++ b/man3type/div_t.3type
@@ -12,7 +12,7 @@ quotient and remainder of an integer division
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <stdlib.h>
.PP
.B typedef struct {
@@ -36,7 +36,7 @@ Standard C library
.BR " intmax_t quot;" " /* Quotient */"
.BR " intmax_t rem;" " /* Remainder */"
.B } imaxdiv_t;
-.fi
+.EE
.SH DESCRIPTION
.RI [[ l ] l ] div_t
is the type of the value returned by the
diff --git a/man3type/epoll_event.3type b/man3type/epoll_event.3type
index 761dce591..67d72b781 100644
--- a/man3type/epoll_event.3type
+++ b/man3type/epoll_event.3type
@@ -11,7 +11,7 @@ epoll_event, epoll_data, epoll_data_t
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <sys/epoll.h>
.PP
.B struct epoll_event {
@@ -27,7 +27,7 @@ Standard C library
.B };
.PP
.B "typedef union epoll_data epoll_data_t;"
-.fi
+.EE
.SH DESCRIPTION
The
.I epoll_event
diff --git a/man3type/iovec.3type b/man3type/iovec.3type
index c29f28034..a2cbec38c 100644
--- a/man3type/iovec.3type
+++ b/man3type/iovec.3type
@@ -10,7 +10,7 @@ iovec \- Vector I/O data structure
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <sys/uio.h>
.PP
.B struct iovec {
@@ -18,7 +18,7 @@ Standard C library
.BR " size_t iov_len;" " /* Size of the memory pointed to by "\c
.IR iov_base ". */"
.B };
-.fi
+.EE
.SH DESCRIPTION
Describes a region of memory, beginning at
.I iov_base
diff --git a/man3type/itimerspec.3type b/man3type/itimerspec.3type
index be6e38824..121a3b274 100644
--- a/man3type/itimerspec.3type
+++ b/man3type/itimerspec.3type
@@ -10,14 +10,14 @@ timespec \- interval for a timer with nanosecond precision
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <time.h>
.PP
.B struct itimerspec {
.BR " struct timespec it_interval;" " /* Interval for periodic timer */"
.BR " struct timespec it_value;" " /* Initial expiration */"
.B };
-.fi
+.EE
.SH DESCRIPTION
Describes the initial expiration of a timer,
and its interval,
diff --git a/man3type/lconv.3type b/man3type/lconv.3type
index d85305b9e..aa1a8670f 100644
--- a/man3type/lconv.3type
+++ b/man3type/lconv.3type
@@ -11,7 +11,7 @@ lconv \- numeric formatting information
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <locale.h>
.PP
.BR "struct lconv {" " /* Values in the \(dqC\(dq locale: */"
@@ -40,7 +40,7 @@ Standard C library
.BR " char int_p_sign_posn;" " /* CHAR_MAX */"
.BR " char int_n_sign_posn;" " /* CHAR_MAX */"
.B };
-.fi
+.EE
.SH DESCRIPTION
Contains members related to the formatting of numeric values.
In the "C" locale, its members have the values
diff --git a/man3type/regex_t.3type b/man3type/regex_t.3type
index f7bf4dde9..09496931f 100644
--- a/man3type/regex_t.3type
+++ b/man3type/regex_t.3type
@@ -12,7 +12,7 @@ regex_t, regmatch_t, regoff_t
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <regex.h>
.PP
.B typedef struct {
@@ -28,7 +28,7 @@ Standard C library
.B } regmatch_t;
.PP
.BR typedef " /* ... */ " regoff_t;
-.fi
+.EE
.SH DESCRIPTION
.TP
.I regex_t
diff --git a/man3type/sockaddr.3type b/man3type/sockaddr.3type
index 254ae1707..05f982e79 100644
--- a/man3type/sockaddr.3type
+++ b/man3type/sockaddr.3type
@@ -13,7 +13,7 @@ in_addr, in6_addr, in_addr_t, in_port_t,
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <sys/socket.h>
.PP
.B struct sockaddr {
@@ -28,9 +28,9 @@ Standard C library
.BR typedef " /* ... */ " socklen_t;
.BR typedef " /* ... */ " sa_family_t;
.PP
-.fi
+.EE
.SS Internet domain sockets
-.nf
+.EX
.B #include <netinet/in.h>
.PP
.B struct sockaddr_in {
@@ -57,16 +57,16 @@ Standard C library
.PP
.B typedef uint32_t in_addr_t;
.B typedef uint16_t in_port_t;
-.fi
+.EE
.SS UNIX domain sockets
-.nf
+.EX
.B #include <sys/un.h>
.PP
.B struct sockaddr_un {
.BR " sa_family_t sun_family;" " /* Address family */"
.BR " char sun_path[];" " /* Socket pathname */"
.B };
-.fi
+.EE
.SH DESCRIPTION
.TP
.I sockaddr
diff --git a/man3type/stat.3type b/man3type/stat.3type
index 007ae9486..ece2c271e 100644
--- a/man3type/stat.3type
+++ b/man3type/stat.3type
@@ -11,7 +11,7 @@ stat \- file status
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <sys/stat.h>
.PP
.B struct stat {
@@ -38,7 +38,7 @@ Standard C library
.B "#define st_mtine st_mtim.tv_sec"
.B "#define st_ctime st_ctim.tv_sec"
.B };
-.fi
+.EE
.PP
.RS -4
Feature Test Macro Requirements for glibc (see
diff --git a/man3type/timespec.3type b/man3type/timespec.3type
index 88d54682e..0dfb89062 100644
--- a/man3type/timespec.3type
+++ b/man3type/timespec.3type
@@ -11,14 +11,14 @@ timespec \- time in seconds and nanoseconds
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <time.h>
.PP
.B struct timespec {
.BR " time_t tv_sec;" " /* Seconds */"
.BR " long tv_usec;" " /* Nanoseconds [" 0 ", " 999999999 "] */"
.B };
-.fi
+.EE
.SH DESCRIPTION
Describes times in seconds and nanoseconds.
.SH STANDARDS
diff --git a/man3type/timeval.3type b/man3type/timeval.3type
index a2cfe5c95..e4b543efc 100644
--- a/man3type/timeval.3type
+++ b/man3type/timeval.3type
@@ -11,14 +11,14 @@ timeval \- time in seconds and microseconds
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <sys/time.h>
.PP
.B struct timeval {
.BR " time_t tv_sec;" " /* Seconds */"
.BR " suseconds_t tv_usec;" " /* Microseconds */"
.B };
-.fi
+.EE
.SH DESCRIPTION
Describes times in seconds and microseconds.
.SH STANDARDS
diff --git a/man3type/tm.3type b/man3type/tm.3type
index 7f52ebfcb..e672f21cf 100644
--- a/man3type/tm.3type
+++ b/man3type/tm.3type
@@ -10,7 +10,7 @@ tm \- broken-down time
Standard C library
.RI ( libc )
.SH SYNOPSIS
-.nf
+.EX
.B #include <time.h>
.PP
.B struct tm {
@@ -30,7 +30,7 @@ Standard C library
.BR " long tm_gmtoff;" " /* Seconds East of UTC */"
.BR " const char *tm_zone;" " /* Timezone abbreviation */"
.B };
-.fi
+.EE
.PP
.RS -4
Feature Test Macro Requirements for glibc (see