Im nice
This commit is contained in:
23
printf.c
Normal file
23
printf.c
Normal 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)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user