getcwd
(p = getcwd(NULL, 0)) != NULL)
if (getcwd(pwd, i) != NULL)
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))) {
char *getcwd(char *, size_t);
if ((p = getcwd(buf, MAXPATHLEN)) != NULL)
if (getcwd(resolved, PATH_MAX) == NULL) {
char *getcwd(char *pt, size_t size);
if (getcwd(path, sizeof(path)) == NULL)
if (getcwd(wd, sizeof(wd) - 1) == NULL)
if (getcwd(base_rel, sizeof(base_rel)) == NULL ||
else if (getcwd(buf, sizeof(buf)) == NULL ||
if (getcwd(buf, sizeof(buf)) != NULL
if (getcwd(ndir, sizeof(ndir)) == NULL)
homedir = getcwd(NULL, -1);
if ((home = getcwd(NULL, 0)) == NULL)
if (getcwd(path, sizeof(path)) == NULL)
if (getcwd(path, sizeof(path)) == NULL)
if (getcwd(path, sizeof(path)) == NULL)
absolute_path = getcwd(NULL, 0);
if (getcwd(apath, sizeof(apath)) == NULL)
if (getcwd(ptr, size-1) != NULL)
s = getcwd(output_file, PATH_MAX);
getcwd(cwd, MAXPATHLEN); /* find where we are */
if (getcwd(buf, sizeof(buf)) == NULL)
res = getcwd(NULL, 0);
if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath)))