xref: /haiku/src/tests/system/libroot/posix/mbtest.c (revision 2222d0559df303a9846a2fad53741f8b20b14d7c)
1 #include <locale.h>
2 #include <limits.h>
3 #include <stdio.h>
4 #include <stdlib.h>
5 
6 int main(int argc, char** argv) {
7 
8 	setlocale(LC_CTYPE, "");
9 
10 	printf("Len: %i\n", mblen(argv[1], SSIZE_MAX));
11 
12 	return 0;
13 }
14