diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-13 16:16:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-13 16:16:43 +0100 |
commit | 5bc7fcc00507bbc5ff5bf957a1589209f8495534 (patch) | |
tree | f18969c395f6e74e0f299948e376abbe74577f68 /src/lib/include | |
parent | 41a4f5309ef298da764bf1dca1254e734a4417f0 (diff) | |
download | kogata-5bc7fcc00507bbc5ff5bf957a1589209f8495534.tar.gz kogata-5bc7fcc00507bbc5ff5bf957a1589209f8495534.zip |
Shell begins to be usefull.
Diffstat (limited to 'src/lib/include')
-rw-r--r-- | src/lib/include/unistd.h | 10 |
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 :*/ |