diff --git a/include/LocalHeader.h b/include/LocalHeader.h new file mode 100644 index 0000000..190ec58 --- /dev/null +++ b/include/LocalHeader.h @@ -0,0 +1,40 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + + +#ifndef LOCALHEADER_H +#define LOCALHEADER_H + +// syscall macros, replaces the number based on system +#ifdef __linux__ +#define SYS_read 0 +#define SYS_write 1 +#define SYS_open 2 +#define SYS_close 3 +#define SYS_sleep 35 +#define SYS_exit 60 +#define SYS_mkdir 83 +#define SYS_getTime 228 + +#elif __FreeBSD__ +#define SYS_read 3 +#define SYS_write 4 +#define SYS_open 5 +#define SYS_close 6 +#define SYS_sleep 244 +#define SYS_exit 1 +#define SYS_mkdir 136 +#define SYS_getTime 232 +#endif + +// functions that SHOULD NOT be exposed to a dev using the library +void exit(int code); + +long syscall1(long number, long args1); +long syscall2(long number, long args1, long args2); +long syscall3(long number, long args1, long args2, long args3); +long syscall4(long number, long args1, long args2, long args3, long args4); + +#endif + diff --git a/include/stdWullie.h b/include/stdWullie.h new file mode 100644 index 0000000..a3092ec --- /dev/null +++ b/include/stdWullie.h @@ -0,0 +1,29 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#ifndef STDWULLIE_H +#define STDWULLIE_H + +// import everything + +//types +#include "stdWullie/definitions/int.h" +#include "stdWullie/definitions/typeNull.h" +#include "stdWullie/definitions/typeBool.h" + +// namespaces +#include "stdWullie/namespaces/print.h" +#include "stdWullie/namespaces/convert.h" + +// errors & exits +#include "stdWullie/exit.h" + +// time +#include "stdWullie/time.h" + + +// string extras +#include "stdWullie/String/colours.h" + +#endif