From 6614e29264064f3667434c01bf736c4e1e5c1736 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 27 Feb 2019 09:59:38 +0100 Subject: [PATCH] keyctl.2, mlock.2, timerfd_create.2, write.2, nl_langinfo.3, posix_spawn.3: ffix Reported-by: Bjarni Ingi Gislason Signed-off-by: Michael Kerrisk --- man2/keyctl.2 | 2 +- man2/mlock.2 | 2 +- man2/timerfd_create.2 | 2 +- man2/write.2 | 4 ++-- man3/nl_langinfo.3 | 4 ++-- man3/posix_spawn.3 | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 75964dffd..da32dab03 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -1476,7 +1476,7 @@ the kernel MPI implementation, and allows access to secure or acceleration hardware. .IP Adding support for DH computation to the -.BR keyctl() +.BR keyctl () system call was considered a good fit due to the DH algorithm's use for deriving shared keys; it also allows the type of the key to determine diff --git a/man2/mlock.2 b/man2/mlock.2 index 59ecc5fd5..62b9d2425 100644 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -459,7 +459,7 @@ value for the process that exceeded the limit, with the result that .BR mlock () and -.BR mlock2() +.BR mlock2 () would fail on requests that should have succeeded. This bug was fixed .\" commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8 diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index b4e3672fb..8a165486d 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -339,7 +339,7 @@ multiplexing APIs: and .BR epoll (7). .TP -.BR ioctl "(2)" +.BR ioctl (2) The following timerfd-specific command is supported: .RS .TP diff --git a/man2/write.2 b/man2/write.2 index 5118a1550..8cff42313 100644 --- a/man2/write.2 +++ b/man2/write.2 @@ -289,11 +289,11 @@ returning the number of bytes actually transferred. (This is true on both 32-bit and 64-bit systems.) .PP An error return value while performing -.BR write() +.BR write () using direct I/O does not mean the entire write has failed. Partial data may be written and the data at the file offset on which the -.BR write() +.BR write () was attempted should be considered inconsistent. .SH BUGS According to POSIX.1-2008/SUSv4 Section XSI 2.9.7 diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3 index d8b24d233..d2c243d10 100644 --- a/man3/nl_langinfo.3 +++ b/man3/nl_langinfo.3 @@ -50,11 +50,11 @@ and functions provide access to locale information in a more flexible way than .BR localeconv (3). -.BR nl_langinfo() +.BR nl_langinfo () returns a string which is the value corresponding to \fIitem\fP in the program's current global locale. -.BR nl_langinfo() +.BR nl_langinfo () returns a string which is the value corresponding to \fIitem\fP for the locale identified by the locale object \fIlocale\fP, which was previously created by diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3 index 3e1e9011c..85492be55 100644 --- a/man3/posix_spawn.3 +++ b/man3/posix_spawn.3 @@ -147,7 +147,7 @@ that is executed in the child process, as for .BR execve (2). .PP Below, the functions are described in terms of a three-step process: the -.BR fork() +.BR fork () step, the .RB pre- exec () step (executed in the child),