aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/intro.24
-rw-r--r--man2/msgop.225
-rw-r--r--man2/sigaction.229
3 files changed, 26 insertions, 32 deletions
diff --git a/man2/intro.2 b/man2/intro.2
index 05538fa791..f207418d14 100644
--- a/man2/intro.2
+++ b/man2/intro.2
@@ -86,8 +86,8 @@ you call the system call by \fIname\fP.
.nf
#include <stdio.h>
#include <errno.h>
-#include <linux/unistd.h> /* for _syscallX macros/related stuff */
-#include <linux/kernel.h> /* for struct sysinfo */
+#include <linux/unistd.h> /* for _syscallX macros/related stuff */
+#include <linux/kernel.h> /* for struct sysinfo */
_syscall1(int, sysinfo, struct sysinfo *, info);
diff --git a/man2/msgop.2 b/man2/msgop.2
index 46e7d5ace0..9a5d41ad51 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -64,21 +64,16 @@ The
.I msgp
argument is a pointer to caller-defined structure
of the following general form:
-.sp
-.B
- struct msgbuf {
-.br
-.B
- long mtype;
-/* message type, must be > 0 */
-.br
-.B
- char mtext[1];
-/* message data */
-.br
-.B
- };
-.sp
+.in +0.5i
+.nf
+
+struct msgbuf {
+ long mtype; /* message type, must be > 0 */
+ char mtext[1]; /* message data */
+};
+.fi
+.in -0.5i
+.PP
The
.I mtext
field is an array (or other structure) whose size is specified by
diff --git a/man2/sigaction.2 b/man2/sigaction.2
index fe64e44838..f0d89d4b1e 100644
--- a/man2/sigaction.2
+++ b/man2/sigaction.2
@@ -205,22 +205,21 @@ is a struct with the following elements
.sp
.RS
.nf
-.ta 4 13 24
siginfo_t {
- int si_signo; /* Signal number */
- int si_errno; /* An errno value */
- int si_code; /* Signal code */
- pid_t si_pid; /* Sending process ID */
- uid_t si_uid; /* Real user ID of sending process */
- int si_status; /* Exit value or signal */
- clock_t si_utime; /* User time consumed */
- clock_t si_stime; /* System time consumed */
- sigval_t si_value; /* Signal value */
- int si_int; /* POSIX.1b signal */
- void * si_ptr; /* POSIX.1b signal */
- void * si_addr; /* Memory location which caused fault */
- int si_band; /* Band event */
- int si_fd; /* File descriptor */
+ int si_signo; /* Signal number */
+ int si_errno; /* An errno value */
+ int si_code; /* Signal code */
+ pid_t si_pid; /* Sending process ID */
+ uid_t si_uid; /* Real user ID of sending process */
+ int si_status; /* Exit value or signal */
+ clock_t si_utime; /* User time consumed */
+ clock_t si_stime; /* System time consumed */
+ sigval_t si_value; /* Signal value */
+ int si_int; /* POSIX.1b signal */
+ void *si_ptr; /* POSIX.1b signal */
+ void *si_addr; /* Memory location which caused fault */
+ int si_band; /* Band event */
+ int si_fd; /* File descriptor */
}
.fi
.RE