aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/unistd.h')
-rw-r--r--src/lib/include/unistd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/include/unistd.h b/src/lib/include/unistd.h
new file mode 100644
index 0000000..5080d6c
--- /dev/null
+++ b/src/lib/include/unistd.h
@@ -0,0 +1,10 @@
+#pragma once
+#include <stddef.h>
+
+int chdir(const char* path);
+
+char* getcwd(char* buf, size_t buf_len);
+
+char* pathncat(char* buf, const char* add, size_t buf_len); // path simplification
+
+/* vim: set ts=4 sw=4 tw=0 noet :*/