blob: 4647d6419443d1184db394c4bb72933852cd1d85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "__stdio.h" // for __FILE
#include <stdio.h> // for vfprintf, _IONBF, va_list, vdprintf
int vdprintf(int fildes, const char *restrict format, va_list ap)
{
int r;
struct __FILE stream;
stream.fd = fildes;
stream.type = _IONBF;
r = vfprintf(&stream, format, ap);
return r;
}
|