meta: move photon/libc to root
This commit is contained in:
16
libc/stdio/__printf.h
Normal file
16
libc/stdio/__printf.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __PRINTF_H_
|
||||
#define __PRINTF_H_
|
||||
|
||||
struct __printf_backend;
|
||||
|
||||
typedef void(*__printf_backend_fn)(struct __printf_backend *, char);
|
||||
|
||||
struct __printf_backend {
|
||||
__printf_backend_fn out;
|
||||
void *arg;
|
||||
};
|
||||
|
||||
extern int __xprintf(struct __printf_backend *bk, const char *format,
|
||||
va_list va);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user