C/stdlib.h/mblen — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Версия 14:20, 25 мая 2010

mblen: get the length of a multibyte character *str

    
//Declaration:  int mblen(const char *str, size_t size); 
  #include <stdlib.h>
  #include <stdio.h>
  int main(void){
     char *md = "asdfasdf";
     printf("%d", mblen(md, 2));
  }
         
/*
1*/