aboutsummaryrefslogtreecommitdiff
path: root/lib/io/io.h
blob: 06cc5415cfc872454165c044675a4660ea0d1ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef IO_H
#define IO_H

#include "../sys/io.h"

void wstd(const char *buf);
void rstd(char *buf, unsigned long count);

void wstdf__(const char *buf, const void **args);

#define wstdf(buf, ...) { \
	const void *__wstdf__args__[] = { __VA_ARGS__ }; \
	wstdf__(buf, __wstdf__args__); \
}


#endif