get rid of pthreads
[ginge.git] / loader / llibc.h
diff --git a/loader/llibc.h b/loader/llibc.h
new file mode 100644 (file)
index 0000000..5381972
--- /dev/null
@@ -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);