mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
caa2898ec7
commit
657e762d71
|
@ -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 ()
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue