CloverBootloader/rEFIt_UEFI/Platform/Posix/stdio.h
jief666 9cb4016bc5 Final refactoring of plist : now each tag is a class.
Rename strerror to efiStrError because of conflict when run cpp_tests on
Mac.
Switch base64_decode_block to long to avoid warning and cast.
Correct GetTableType4(). Size was used without being initialized.
2020-08-25 18:35:19 +03:00

29 lines
491 B
C

#ifndef __CLOVER_STDIO_H__
#define __CLOVER_STDIO_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _MSC_VER
#define __attribute__(x)
#endif
int vprintf(const char* format, VA_LIST ap);
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)));
const char* efiStrError(EFI_STATUS errnum);
const char* strguid(EFI_GUID* guid);
#ifdef __cplusplus
}
#endif
#endif