vdprintf.c\stdio\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/vdprintf.c
blob: 3b9c093bdab85535852bffa3673a821f921ef48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "stdio_impl.h"
int vdprintf(int fd, const char *restrict fmt, va_list ap)
{
	FILE f = {
		.fd = fd, .lbf = EOF, .write = __stdio_write,
		.buf = (void *)fmt, .buf_size = 0,
		.lock = -1
	};
	return vfprintf(&f, fmt, ap);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 23:16:14 +0000

AltStyle によって変換されたページ (->オリジナル) /