diff options
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/cond_init.3c | 4 | ||||
-rw-r--r-- | usr/src/man/man3c/mbsrtowcs.3c | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/usr/src/man/man3c/cond_init.3c b/usr/src/man/man3c/cond_init.3c index d90296e420..198594167c 100644 --- a/usr/src/man/man3c/cond_init.3c +++ b/usr/src/man/man3c/cond_init.3c @@ -44,7 +44,7 @@ .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" -.TH COND_INIT 3C "February 15, 2020" +.TH COND_INIT 3C "December 28, 2020" .SH NAME cond_init, cond_wait, cond_timedwait, cond_reltimedwait, cond_signal, cond_broadcast, cond_destroy \- condition variables @@ -435,7 +435,7 @@ The \fBcond_timedwait()\fR and \fBcond_reltimedwait()\fR functions are similar to \fBcond_wait()\fR, except that the calling thread will not wait for the condition to become true past the absolute time specified by \fIabstime\fR or the relative time specified by \fIreltime\fR. Note that \fBcond_timedwait()\fR -or \fBcond_reltimedwait()\fR might continue to block as it trys to reacquire +or \fBcond_reltimedwait()\fR might continue to block as it tries to reacquire the mutex pointed to by \fImp\fR, which may be locked by another thread. If either \fBcond_timedwait()\fR or \fBcond_reltimedwait()\fR returns because of a timeout, it returns the error value \fBETIME\fR. diff --git a/usr/src/man/man3c/mbsrtowcs.3c b/usr/src/man/man3c/mbsrtowcs.3c index bf4d3a04d9..05efa21401 100644 --- a/usr/src/man/man3c/mbsrtowcs.3c +++ b/usr/src/man/man3c/mbsrtowcs.3c @@ -44,12 +44,11 @@ .\" Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 2014 Garrett D'Amore <garrett@damore.org> .\" -.TH MBSRTOWCS 3C "Jun 28, 2014" +.TH MBSRTOWCS 3C "December 28, 2020" .SH NAME mbsnrtowcs, mbsnrtowcs_l, mbsrtowcs, mbsrtowcs_l \- convert a character string to a wide-character string (restartable) .SH SYNOPSIS -.LP .nf #include <wchar.h> @@ -75,7 +74,6 @@ to a wide-character string (restartable) \fBsize_t\fR \fIlen\fR, \fBmbstate_t *restrict\fR \fIps\fR, \fBlocale_t\fR \fIloc\fR); .fi .SH DESCRIPTION -.LP These function converts a sequence of characters, beginning in the conversion state described by the object pointed to by \fIps\fR, from the array indirectly pointed to by \fIsrc\fR into a sequence of corresponding @@ -124,7 +122,6 @@ current locale. See \fBenviron\fR(5). The functions \fBmbsrtowcs_l()\fR and \fBmbsnrtowcs()\fR, except that instead of using the current locale, they use the locale specified by \fIloc\fR. .SH RETURN VALUES -.LP If the input conversion encounters a sequence of bytes that do not form a valid character, an encoding error occurs. In this case, these functions store the value of the macro \fBEILSEQ\fR in \fBerrno\fR and return @@ -132,8 +129,7 @@ functions store the value of the macro \fBEILSEQ\fR in \fBerrno\fR and return the number of characters successfully converted, not including the terminating null (if any). .SH ERRORS -.LP -Theses functions may fail if: +These functions may fail if: .sp .ne 2 .na @@ -153,7 +149,6 @@ state. Invalid character sequence is detected. .RE .SH ATTRIBUTES -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .TS box; @@ -183,7 +178,6 @@ multithreaded applications, otherwise they use an internal \fBmbstate_t\fR object and are Unsafe in multithreaded applications. .SH SEE ALSO -.LP \fBmbrtowc\fR(3C), \fBmbsinit\fR(3C), \fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBuselocale()\fR, \fBattributes\fR(5), \fBenviron\fR(5), \fBstandards\fR(5) |