14 lines
208 B
C
14 lines
208 B
C
|
#include <stdio.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
int printf(const char *restrict format, ...)
|
||
|
{
|
||
|
va_list ap;
|
||
|
int ret;
|
||
|
|
||
|
va_start(ap, format);
|
||
|
ret = vdprintf(STDOUT_FILENO, format, ap);
|
||
|
va_end(ap);
|
||
|
return (ret);
|
||
|
}
|