diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/cwd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/cwd.c b/core/cwd.c new file mode 100644 index 0000000..ab858c7 --- /dev/null +++ b/core/cwd.c @@ -0,0 +1,11 @@ +#include "../lib/sys/getcwd.h" +#include "../lib/io/io.h" + +char buf[1024] = { 0 }; + +int main() +{ + getcwd(buf, 1024); + wstdf("%s\n", buf); + return 0; +} |