From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/mblen.htm | 100 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 reference/C/MAN/mblen.htm (limited to 'reference/C/MAN/mblen.htm') diff --git a/reference/C/MAN/mblen.htm b/reference/C/MAN/mblen.htm new file mode 100644 index 0000000..ed12a75 --- /dev/null +++ b/reference/C/MAN/mblen.htm @@ -0,0 +1,100 @@ +mblen + +
+
+
+
+
+

MBLEN(3) Linux Programmer's Manual MBLEN(3) +

+ +

NAME +

mblen - determine the number of bytes in a character + +

SYNOPSIS +

#include <stdlib.h> + + int mblen(const char *s, size_t n); + +

DESCRIPTION +

The mblen() function scans the first n bytes of the string + s and returns the number of bytes in a character. The + mblen() function is equivalent to + + mbtowc((wchat_t *)0, s, n); + + except that the shift state of the mbtowc() function is + not affected. + +

RETURN VALUE +

The mblen() returns the number of bytes in a character or + -1 if the character is invalid or 0 if s is a NULL string. + +

CONFORMING TO +

SVID 3, ISO 9899 + +
+
+

SEE ALSO +

+mbstowcs, +mbtowc, +wcstombs, +wctomb, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

GNU March 29, 1993 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf