aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/brk.22
-rw-r--r--man2/clock_nanosleep.21
-rw-r--r--man2/fchmodat.22
-rw-r--r--man2/getcpu.22
-rw-r--r--man2/mbind.22
-rw-r--r--man2/mount.22
-rw-r--r--man2/move_pages.22
-rw-r--r--man2/prctl.25
8 files changed, 10 insertions, 8 deletions
diff --git a/man2/brk.2 b/man2/brk.2
index 80089bd163..5c024c31d9 100644
--- a/man2/brk.2
+++ b/man2/brk.2
@@ -138,7 +138,7 @@ the actual Linux system call returns the new program break on success.
On failure, the system call returns the current break.
The glibc wrapper function does some work
(i.e., checks whether the new break is less than
-.I addr )
+.IR addr )
to provide the 0 and \-1 return values described above.
On Linux,
diff --git a/man2/clock_nanosleep.2 b/man2/clock_nanosleep.2
index 891ec4a079..4c7c28a433 100644
--- a/man2/clock_nanosleep.2
+++ b/man2/clock_nanosleep.2
@@ -146,6 +146,7 @@ returns 0.
If the call is interrupted by a signal handler or encounters an error,
then it returns a positive error number.
.SH ERRORS
+.TP
.B EFAULT
.I request
or
diff --git a/man2/fchmodat.2 b/man2/fchmodat.2
index bd62059399..ee01e46fea 100644
--- a/man2/fchmodat.2
+++ b/man2/fchmodat.2
@@ -127,5 +127,5 @@ for an explanation of the need for
.SH "SEE ALSO"
.BR chmod (2),
.BR openat (2),
-.BR path_resolution (7)
+.BR path_resolution (7),
.BR symlink (7)
diff --git a/man2/getcpu.2 b/man2/getcpu.2
index 9bd3732ccb..03e724ad94 100644
--- a/man2/getcpu.2
+++ b/man2/getcpu.2
@@ -121,5 +121,5 @@ migrating threads between CPUs, and so the argument is now ignored.
.BR mbind (2),
.BR sched_setaffinity (2),
.BR set_mempolicy (2),
-.BR sched_getcpu (3)
+.BR sched_getcpu (3),
.BR cpuset (7)
diff --git a/man2/mbind.2 b/man2/mbind.2
index efae0f4f03..d9b7290fef 100644
--- a/man2/mbind.2
+++ b/man2/mbind.2
@@ -392,7 +392,7 @@ that was mapped with the
flag.
The
-.BR MPOL_DEFAULT ,
+.B MPOL_DEFAULT
mode can have different effects for
.BR mbind ()
and
diff --git a/man2/mount.2 b/man2/mount.2
index ae337c3c4b..bff1d1f1b7 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -123,7 +123,7 @@ Up until Linux 2.6.26,
.I mountflags
was also ignored
.\" with the exception of the "hidden" MS_REC mountflags bit
-(the bind mound has the same mount options as
+(the bind mount has the same mount options as
the underlying mount point).
Since Linux 2.6.26, the
.B MS_RDONLY
diff --git a/man2/move_pages.2 b/man2/move_pages.2
index b735923b0c..63a08baa56 100644
--- a/man2/move_pages.2
+++ b/man2/move_pages.2
@@ -150,7 +150,7 @@ to indicate the error.
.B E2BIG
Too many pages to move.
.TP
-.B EACCESS
+.B EACCES
.\" FIXME Clarify "current cpuset". Is that the cpuset of the caller
.\" or the target?
One of the target nodes is not allowed by the current cpuset.
diff --git a/man2/prctl.2 b/man2/prctl.2
index 1337183f90..26d5e7e297 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -225,7 +225,7 @@ After the secure computing mode has been set to 1,
the only system calls that the thread is permitted to make are
.BR read (2),
.BR write (2),
-.BR _exit(2),
+.BR _exit (2),
and
.BR sigreturn (2).
Other system calls result in the delivery of a
@@ -343,7 +343,8 @@ is an invalid address.
.B EINVAL
The value of
.I option
-is not recognized
+is not recognized.
+.TP
.B EINVAL
.I arg2
is not valid value for this