1 2 3 4 5 6 7 8 9 10 11
#ifndef GETCWD_H #define GETCWD_H #include "syscalls.h" static int getcwd(char *buf, unsigned long size) { return syscall(GETCWD, buf, size); } #endif