summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/semctl.24
-rw-r--r--lib/libc/sys/semop.22
3 files changed, 4 insertions, 4 deletions
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