diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
| commit | fc00c656c96528112d05cf0edf8631bd5eaea446 (patch) | |
| tree | a6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/stdarg.h | |
Add build system scaffolding and libc headers
Diffstat (limited to 'include/stdarg.h')
| -rw-r--r-- | include/stdarg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/stdarg.h b/include/stdarg.h new file mode 100644 index 00000000..29f43186 --- /dev/null +++ b/include/stdarg.h @@ -0,0 +1,11 @@ +#ifndef __STDARG_H +#define __STDARG_H + +typedef __builtin_va_list va_list; + +#define va_start(ap, ...) __builtin_va_start(ap, __VA_ARGS__) +#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 |
