farmmmmmerr mjorrkkkk
This commit is contained in:
@@ -15,13 +15,15 @@ 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);
|
||||||
Here:
|
/*jump*/
|
||||||
|
Here:
|
||||||
while (format[i] != '\0')
|
while (format[i] != '\0')
|
||||||
{
|
{
|
||||||
j = 13;
|
j = 13;
|
||||||
|
|||||||
Reference in New Issue
Block a user