fmt_str.c (196B)
1 #include "fmt.h" 2 3 unsigned int fmt_str(char *s, char *t) 4 { 5 unsigned int len; 6 char ch; 7 len = 0; 8 if (s) { while ((ch = t[len])) s[len++] = ch; } 9 else while (t[len]) len++; 10 return len; 11 }
nightmaremailUnnamed repository; edit this file 'description' to name the repository. | |
Log | Files | Refs |