shadPS4/src/Emulator/HLE/Libraries/LibC/libc.h

15 lines
404 B
C
Raw Normal View History

2023-10-06 11:19:09 +00:00
#pragma once
#include <types.h>
2023-10-06 13:05:34 +00:00
2023-10-06 11:19:09 +00:00
#include "printf.h"
namespace Emulator::HLE::Libraries::LibC {
2023-10-06 13:05:34 +00:00
// HLE functions
PS4_SYSV_ABI int printf(VA_ARGS);
PS4_SYSV_ABI void exit(int code);
PS4_SYSV_ABI int atexit(void (*func)());
int PS4_SYSV_ABI memcmp(const void* s1, const void* s2, size_t n);
void* PS4_SYSV_ABI memcpy(void* dest, const void* src, size_t n);
} // namespace Emulator::HLE::Libraries::LibC