2022-03-16 20:33:13 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_INTRIN_KPRINTF_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_INTRIN_KPRINTF_H_
|
2023-08-14 03:31:27 +00:00
|
|
|
#ifdef _COSMO_SOURCE
|
2023-06-06 10:30:37 +00:00
|
|
|
|
|
|
|
#define kprintf __kprintf
|
|
|
|
#define ksnprintf __ksnprintf
|
|
|
|
#define kvprintf __kvprintf
|
|
|
|
#define kvsnprintf __kvsnprintf
|
|
|
|
#define kisdangerous __kisdangerous
|
|
|
|
|
2022-03-16 20:33:13 +00:00
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2023-06-06 10:30:37 +00:00
|
|
|
void kprintf(const char *, ...);
|
|
|
|
size_t ksnprintf(char *, size_t, const char *, ...);
|
|
|
|
void kvprintf(const char *, va_list);
|
|
|
|
size_t kvsnprintf(char *, size_t, const char *, va_list);
|
|
|
|
bool kisdangerous(const void *);
|
|
|
|
|
2022-03-16 20:33:13 +00:00
|
|
|
void kprintf(const char *, ...);
|
|
|
|
size_t ksnprintf(char *, size_t, const char *, ...);
|
|
|
|
void kvprintf(const char *, va_list);
|
|
|
|
size_t kvsnprintf(char *, size_t, const char *, va_list);
|
|
|
|
bool kisdangerous(const void *);
|
2023-06-05 11:16:15 +00:00
|
|
|
void _klog(const char *, size_t);
|
2022-03-16 20:33:13 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
2023-08-14 03:31:27 +00:00
|
|
|
#endif /* _COSMO_SOURCE */
|
2022-03-16 20:33:13 +00:00
|
|
|
#endif /* COSMOPOLITAN_LIBC_INTRIN_KPRINTF_H_ */
|