summaryrefslogtreecommitdiff
path: root/src/stdio/dprintf.c
blob: 93082ee79cf9df348e40c3ba5b6ecf159b637beb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdarg.h>

int dprintf(int fd, const char *restrict fmt, ...)
{
	int ret;
	va_list ap;
	va_start(ap, fmt);
	ret = vdprintf(fd, fmt, ap);
	va_end(ap);
	return ret;
}