From 657e762d716c548531a4e2b87ff1425f477ef8e8 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 Jul 2007 20:11:21 +0000 Subject: [PATCH] ffix --- man2/get_thread_area.2 | 4 ++-- man2/mprotect.2 | 2 +- man2/set_thread_area.2 | 2 +- man3/mbsnrtowcs.3 | 4 +++- man3/mbsrtowcs.3 | 4 +++- man3/wcsnrtombs.3 | 3 ++- man3/wcsrtombs.3 | 3 ++- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/man2/get_thread_area.2 b/man2/get_thread_area.2 index 6cf26226a..ad71e21e1 100644 --- a/man2/get_thread_area.2 +++ b/man2/get_thread_area.2 @@ -16,7 +16,7 @@ get_thread_area \- Get a Thread Local Storage (TLS) area .BR get_thread_area () returns an entry in the current thread's Thread Local Storage (TLS) array. The index of the entry corresponds to the value -of \fIu_info->\fR\fIentry_number\fR, passed in by the user. +of \fIu_info->entry_number\fR, passed in by the user. If the value is in bounds, .BR get_thread_area () copies the corresponding @@ -33,7 +33,7 @@ appropriately. \fIu_info\fR is an invalid pointer. .TP .B EINVAL -\fIu_info->\fR\fIentry_number\fR is out of bounds. +\fIu_info->entry_number\fR is out of bounds. .SH VERSIONS A version of .BR get_thread_area () diff --git a/man2/mprotect.2 b/man2/mprotect.2 index 9ccd222c6..361a1e46a 100644 --- a/man2/mprotect.2 +++ b/man2/mprotect.2 @@ -42,7 +42,7 @@ mprotect \- set protection on a region of memory .BR mprotect () changes protection for the calling process's memory page(s) containing any part of the address range in the -interval [\fIaddr\fP,\fIaddr\fP+\fIlen\fP\-1]. +interval [\fIaddr\fP,\ \fIaddr\fP+\fIlen\fP\-1]. .I addr must be aligned to a page boundary. diff --git a/man2/set_thread_area.2 b/man2/set_thread_area.2 index 7dc6eab74..824b17129 100644 --- a/man2/set_thread_area.2 +++ b/man2/set_thread_area.2 @@ -45,7 +45,7 @@ set appropriately. .SH "ERRORS" .TP .B EINVAL -\fIu_info->\fR\fIentry_number\fR is out of bounds. +\fIu_info->entry_number\fR is out of bounds. .TP .B EFAULT \fIu_info\fR is an invalid pointer. diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3 index ce1f1f8b6..9e379f640 100644 --- a/man3/mbsnrtowcs.3 +++ b/man3/mbsnrtowcs.3 @@ -39,7 +39,9 @@ At most \fIlen\fP wide characters are written to \fIdest\fP. The shift state \fI*ps\fP is updated. The conversion is effectively performed by repeatedly -calling mbrtowc(\fIdest\fP,\fI*src\fP,\fIn\fP,\fIps\fP) where \fIn\fP is some +calling +.IR "mbrtowc(dest, *src, n, ps)" +where \fIn\fP is some positive number, as long as this call succeeds, and then incrementing \fIdest\fP by one and \fI*src\fP by the number of bytes consumed. The diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3 index 5186fddf9..9c88ec8c8 100644 --- a/man3/mbsrtowcs.3 +++ b/man3/mbsrtowcs.3 @@ -30,7 +30,9 @@ At most \fIlen\fP wide characters are written to \fIdest\fP. The shift state \fI*ps\fP is updated. The conversion is effectively performed by repeatedly -calling mbrtowc(\fIdest\fP,\fI*src\fP,\fIn\fP,\fIps\fP) where \fIn\fP is some +calling +.IR "mbrtowc(dest, *src, n, ps)" +where \fIn\fP is some positive number, as long as this call succeeds, and then incrementing \fIdest\fP by one and \fI*src\fP by the number of bytes consumed. The conversion can stop for three reasons: diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3 index 70681e4de..a22c2bcb9 100644 --- a/man3/wcsnrtombs.3 +++ b/man3/wcsnrtombs.3 @@ -41,7 +41,8 @@ At most \fIlen\fP bytes are written to \fIdest\fP. The shift state \fI*ps\fP is updated. The conversion is effectively performed by repeatedly -calling wcrtomb(\fIdest\fP,\fI*src\fP,\fIps\fP), +calling +.IR "wcrtomb(dest, *src, ps), as long as this call succeeds, and then incrementing \fIdest\fP by the number of bytes written and \fI*src\fP diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3 index cdeeb6273..e8c610191 100644 --- a/man3/wcsrtombs.3 +++ b/man3/wcsrtombs.3 @@ -32,7 +32,8 @@ At most \fIlen\fP bytes are written to \fIdest\fP. The shift state \fI*ps\fP is updated. The conversion is effectively performed by repeatedly -calling wcrtomb(\fIdest\fP,\fI*src\fP,\fIps\fP), +calling +.IR "wcrtomb(dest, *src, ps)" , as long as this call succeeds, and then incrementing \fIdest\fP by the number of bytes written and \fI*src\fP