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

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

Текущая версия на 10:22, 25 мая 2010

strxfrm: returns the length of the transformed string

    
//Declaration:  size_t strxfrm(char *str1, const char *str2, size_t  count); 
//Return:       returns the length of the transformed string. 

  #include <string.h>
  #include <stdio.h>
  int main(void)
  {
    char *s1 = "asdfasdfasdf";
    char *s2 = "asdfasdfasdf";
   
    strxfrm(s1, s2, 10);
  }