getcwd
return (getcwd(pwd, sizeof(pwd)));
if (getcwd(pwd, i) != NULL)
if (getcwd(buf, sizeof(buf)) != NULL)
if (getcwd(path, sizeof(path)-1) == NULL)
ret = getcwd(path, sizeof(path));
char *getcwd(char *pt, size_t size);
if (getcwd(cwd, sizeof(cwd)) == NULL)
if (getcwd(resolved, PATH_MAX) == NULL) {
if (getcwd(cwd, sizeof(cwd)) == NULL) {
if (!getcwd(path_buf, sizeof(path_buf))) {
__ssp_redirect_raw(char *, getcwd, getcwd, (char *__buf, size_t __len),
char *getcwd(char *, size_t);
if ( (p = getcwd(buf, MAXPATHLEN)) )
__ssp_real(getcwd)(char *pt, size_t size)
if (getcwd(resolved, PATH_MAX) == NULL) {
getcwd(__stack.__buf, __len);
getcwd(__stack.__buf, __len);
getcwd(__stack.__buf, __len);
getcwd(__stack.__buf, __len);
getcwd(__stack.__buf, __len);
if (!getcwd(cwd, MAXPATHLEN)) {
if (!getcwd(cwd, MAXPATHLEN)) {
else if (getcwd(buf, sizeof(buf)) == NULL ||
ATF_REQUIRE_EQ(pwd, getcwd(pwd, sizeof(pwd)));
ATF_REQUIRE(getcwd(&command[2], sizeof(command) - 2) != NULL);
cp = getcwd(NULL, 80);
ATF_REQUIRE(getcwd(dirpath, sizeof(dirpath)) != NULL);
ATF_REQUIRE(getcwd(dirpath, sizeof(dirpath)) != NULL);
getcwd(cwd, sizeof(cwd));
ASSERT_NE(nullptr, getcwd(wd, sizeof(wd))) << strerror(errno);
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
ASSERT_NE(nullptr, getcwd(mp, PATH_MAX)) << strerror(errno);
ATF_REQUIRE(getcwd(cwd, sizeof(cwd)) == cwd);
ATF_REQUIRE(getcwd(cwd, sizeof(cwd)) != NULL);
absolute_path = (char *)getcwd(NULL, 0);
if ((home = getcwd(NULL, 0)) == NULL)
if (getcwd(path, sizeof(path)) == NULL)
if (getcwd(path, sizeof(path)) == NULL)
absolute_path = getcwd(NULL, 0);
if (getcwd(apath, sizeof(apath)) == NULL)
getcwd(path, sizeof(path));
if (getcwd(here, sizeof(here)) == NULL)
if (getcwd(ptr, size-1) != NULL)
getcwd(genopt, sizeof(genopt));
if (getcwd(buf, sizeof(buf)) == NULL)
res = getcwd(NULL, 0);