summaryrefslogtreecommitdiffstats
path: root/man3/mblen.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mblen.3')
-rw-r--r--man3/mblen.311
1 files changed, 5 insertions, 6 deletions
diff --git a/man3/mblen.3 b/man3/mblen.3
index 0a8bbde..6946b00 100644
--- a/man3/mblen.3
+++ b/man3/mblen.3
@@ -9,7 +9,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH mblen 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH mblen 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
mblen \- determine number of bytes in next multibyte character
.SH LIBRARY
@@ -18,7 +18,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
-.PP
+.P
.BI "int mblen(const char " s [. n "], size_t " n );
.fi
.SH DESCRIPTION
@@ -39,7 +39,7 @@ If the multibyte character is not the null wide
character, it returns the number of bytes that were consumed from
.IR s .
If the multibyte character is the null wide character, it returns 0.
-.PP
+.P
If the
.I n
bytes starting at
@@ -53,14 +53,14 @@ This can happen even if
is greater than or equal to
.IR MB_CUR_MAX ,
if the multibyte string contains redundant shift sequences.
-.PP
+.P
If the multibyte string starting at
.I s
contains an invalid multibyte
sequence before the next complete character,
.BR mblen ()
also returns \-1.
-.PP
+.P
If
.I s
is NULL, the
@@ -97,7 +97,6 @@ T{
.BR mblen ()
T} Thread safety MT-Unsafe race
.TE
-.sp 1
.SH VERSIONS
The function
.BR mbrlen (3)