2020-03-21 14:12:26 +01:00
|
|
|
#ifndef __CLOVER_STDIO_H__
|
|
|
|
#define __CLOVER_STDIO_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#define __attribute__(x)
|
|
|
|
#endif
|
|
|
|
|
2020-04-24 08:36:29 +02:00
|
|
|
int vprintf(const char* format, VA_LIST ap);
|
2020-03-21 14:12:26 +01:00
|
|
|
int printf(const char* format, ...) __attribute__((format(printf, 1, 2)));
|
|
|
|
|
|
|
|
|
|
|
|
//int snprintf(char* str, size_t size, const char* format, ...) __attribute__((format(printf, 1, 2)));;
|
|
|
|
|
2020-03-26 13:59:20 +01:00
|
|
|
const char* strerror(EFI_STATUS errnum);
|
|
|
|
const char* strguid(EFI_GUID* guid);
|
2020-03-21 14:12:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|