int main(int ac, char **av) { (void)ac; /* Unused argument */ (void)av; /* Unused argument */ check_1(1, buf1, sizeof(buf1), sizeof(buf1)); check_1(0, buf1, sizeof(buf1) - 1, sizeof(buf1) - 1); check_2(1, buf2, sizeof(buf2), sizeof(buf2)); check_2(0, buf2, sizeof(buf2) - 1, sizeof(buf2) - 1); return 0; }
void check(char *str, int ret) { if (((ret + 1) % 21) != 0) ft_error(); if (check_1(str, ret) == 0) ft_error(); }