diff --git a/_printf.c b/_printf.c index 23e61fb..05dd9e2 100644 --- a/_printf.c +++ b/_printf.c @@ -15,13 +15,15 @@ int _printf(const char * const format, ...) {"%S", printf_exclusive_string}, {"%p", printf_pointer} }; + /* init list*/ va_list args; int i = 0, j, len = 0; va_start(args, format); if (format == NULL || (format[0] == '%' && format[1] == '\0')) return (-1); -Here: + /*jump*/ + Here: while (format[i] != '\0') { j = 13;