X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=loader%2Fllibc.h;fp=loader%2Fllibc.h;h=5381972e40e6448ac61a585394db1b93c65ef7f3;hp=0000000000000000000000000000000000000000;hb=d0b9b0df7ed0dc36aabe30e2d584c27c8c32a3d9;hpb=1fc90bfe7c558b33f4e76f8346b9134baeb0c661 diff --git a/loader/llibc.h b/loader/llibc.h new file mode 100644 index 0000000..5381972 --- /dev/null +++ b/loader/llibc.h @@ -0,0 +1,7 @@ +void g_fprintf(int fd, const char *fmt, ...) + __attribute__((format(printf, 2, 3))); + +#define g_printf(fmt, ...) \ + g_fprintf(1, fmt, ##__VA_ARGS__) + +void g_sleep(unsigned int seconds);