/// @file pwd.c /// @brief /// @copyright (c) 2014-2022 This file is distributed under the MIT License. /// See LICENSE.md for details. #include #include #include int main(int argc, char** argv) { char cwd[PATH_MAX]; getcwd(cwd, PATH_MAX); printf("%s\n", cwd); return 0; }