Updated libc

This commit is contained in:
Alex
2022-12-12 00:44:43 +02:00
parent 9ff9b3a319
commit 123ae92e47
17 changed files with 3026 additions and 25 deletions

11
libc/include/stdarg.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef _STDARG_H
#define _STDARG_H
typedef __builtin_va_list va_list;
#define va_start(ap, last) __builtin_va_start(ap, last)
#define va_end(ap) __builtin_va_end(ap)
#define va_arg(ap, type) __builtin_va_arg(ap, type)
#define va_copy(dest, src) __builtin_va_copy(dest, src)
#endif // !_STDARG_H