summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-15 12:28:01 +0000
committerru <ru@FreeBSD.org>2005-01-15 12:28:01 +0000
commitd26afd541df23fb12a7967a6327bd1eafc184a85 (patch)
tree67be4a2793520ab24bb84fe954e5f09e1493d521 /lib
parentc448d3af70f9c62a62a6f78fa06a919f11e33f5c (diff)
downloadFreeBSD-src-d26afd541df23fb12a7967a6327bd1eafc184a85.zip
FreeBSD-src-d26afd541df23fb12a7967a6327bd1eafc184a85.tar.gz
Eliminate macro calls inside literal displays.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getprotoent.32
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/semctl.24
-rw-r--r--lib/libc/sys/semop.22
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index 7811c78..b30b95b 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -68,8 +68,8 @@ following structure
containing the broken-out
fields of a line in the network protocol data base,
.Pa /etc/protocols .
-.Bd -literal -offset indent
.Pp
+.Bd -literal -offset indent
struct protoent {
char *p_name; /* official name of protocol */
char **p_aliases; /* alias list */
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index d3929ee..1fd4edd 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -213,8 +213,8 @@ struct cmsghdr {
/* followed by
u_char cmsg_data[]; */
};
-.Pp
.Ed
+.Pp
As an example, one could use this to learn of changes in the data-stream
in XNS/SPP, or in ISO, to obtain user-connection-request data by requesting
a
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index 0971949..01a984a 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -56,10 +56,10 @@ For the commands that use the
argument,
.Fa "union semun"
is defined as follows:
-.Bd -literal
.\"
.\" From <sys/sem.h>:
.\"
+.Bd -literal
union semun {
int val; /* value for SETVAL */
struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
@@ -139,10 +139,10 @@ in any process are cleared.
The
.Vt "struct semid_ds"
is defined as follows:
-.Bd -literal
.\"
.\" Taken straight from <sys/sem.h>.
.\"
+.Bd -literal
struct semid_ds {
struct ipc_perm sem_perm; /* operation permission struct */
struct sem *sem_base; /* pointer to first semaphore in set */
diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2
index 70c712b..86200ee 100644
--- a/lib/libc/sys/semop.2
+++ b/lib/libc/sys/semop.2
@@ -54,10 +54,10 @@ is indicated by
Each operation is encoded in a
.Vt "struct sembuf" ,
which is defined as follows:
-.Bd -literal
.\"
.\" From <sys/sem.h>
.\"
+.Bd -literal
struct sembuf {
u_short sem_num; /* semaphore # */
short sem_op; /* semaphore operation */
OpenPOWER on IntegriCloud