delorie.com/djgpp/doc/libc/libc_558.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> int mblen(const char *s, size_t n); |
This function returns the number of characters of string s that make up the next multibyte character. No more than n characters are checked.
If s is NULL
, the internal shift state is reset.
The number of characters that comprise the next multibyte character.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
int n = mblen(string, INT_MAX); string += n; |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |