ft_strlcpy 구현 테스트
#include #include unsigned int ft_strlcpy(char *dest, char *src, unsigned int size); int main(void) { char text1[] = "salut, comment tu vas ? 42mots quarante-deux; cinquante+et+un"; char text1_ft_strlcpy[100]; char text1_strlcpy[100]; printf("%d %s\n", ft_strlcpy(text1_ft_strlcpy, text1, 100), text1_ft_strlcpy); printf("%lu %s\n", strlcpy(text1_strlcpy, text1, 100), text1_strlcpy); printf("\n");..
더보기