Files
mm/include/PR/os_libc.h
T
Tharo 01a1b113b4 libultra/libc cleanup (#1757)
* libultra/libc cleanup

* Format

* Correct prototype for strchr

* Different prototypes for bzero, bcmp, bcopy under __GNUC__ to match builtin prototypes

* Correct alloca prototype
2024-12-13 18:28:22 -08:00

19 lines
462 B
C

#ifndef PR_OS_LIBC_H
#define PR_OS_LIBC_H
#include "stdarg.h"
#ifdef __GNUC__
void bzero(void* begin, unsigned int length);
int bcmp(const void* __s1, const void* __s2, unsigned int __n);
void bcopy(const void* __src, void* __dest, unsigned int __n);
#else
void bzero(void* begin, int length);
int bcmp(const void* __s1, const void* __s2, int __n);
void bcopy(const void* __src, void* __dest, int __n);
#endif
void osSyncPrintf(const char* fmt, ...);
#endif