chdir (2) Linux Manual Page
chdir, fchdir – change working directory Synopsis#include <unistd.h> int chdir(const char *path); int fchdir(int fd); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fchdir(): _XOPEN_SOURCE >= 500 || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L || /* Glibc up to and including 2.19: */ _BSD_SOURCEDescriptionchdir() changes the current working directory of the calling process to the directory specified in path. fchdir() is identical to chdir(); the…
