This commit is contained in:
LinlyBoi
2023-08-20 14:39:25 +03:00
parent b2fca0820d
commit 1c607342b4

23
printf.c Normal file
View File

@@ -0,0 +1,23 @@
#include "main.h"
#include <stdarg.h>
int _printf(const char *format, ...)
{
unsigned int thingies; /*how many %* that aren't %*/
char *buffer;
int i;
va_list stuff;
thingies = _contains(format, '%');
va_start(stuff, format);
if (!format)
return (0);
while(format)
{
if (*format)
}
}