1 #include <unistd.h> 2 3 int main(int argc, char **argv) { 4 char buf[10]; 5 getcwd(buf, sizeof(buf) + 2000); 6 return 1; 7 } 8