aboutsummaryrefslogtreecommitdiff
path: root/lib/libk/stdio/printf.c
blob: 4efc1ace794ea1d5f4a06f01ce6890e34611b0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

int
printf(const char *restrict format, ...)
{
  va_list ap;
  va_start(ap, format);
  int c = vfprintf(stdout, format, ap);
  va_end(ap);
  return c;
}