farmmmmmerr mjorrkkkk

This commit is contained in:
2023-08-22 23:32:56 +03:00
parent 2a63518bfe
commit 757ed69655

View File

@@ -15,12 +15,14 @@ int _printf(const char * const format, ...)
{"%S", printf_exclusive_string}, {"%p", printf_pointer} {"%S", printf_exclusive_string}, {"%p", printf_pointer}
}; };
/* init list*/
va_list args; va_list args;
int i = 0, j, len = 0; int i = 0, j, len = 0;
va_start(args, format); va_start(args, format);
if (format == NULL || (format[0] == '%' && format[1] == '\0')) if (format == NULL || (format[0] == '%' && format[1] == '\0'))
return (-1); return (-1);
/*jump*/
Here: Here:
while (format[i] != '\0') while (format[i] != '\0')
{ {