getcwd
tcp = getcwd(path, PATH_MAX);
ret = getcwd(b, bsize);
p = getcwd(NULL, 0);
char *getcwd(char *, size_t)
DEF_WEAK(getcwd);
PROTO_NORMAL(getcwd);
if (getcwd(cwd_buf, sizeof(cwd_buf)) != 0) {
|| getcwd(actual, sizeof(actual)) == NULL)
if (getcwd(MyPath, size) == 0) {
if (getcwd(homedir, PATH_MAX) != NULL) {
if (getcwd(path, sizeof(path)) == NULL)
if (getcwd(path, sizeof(path)-1) == NULL)
if ((statfd >= 0) && (getcwd(dir, sizeof(dir)) != NULL)) {
if (getcwd(cwd, sizeof cwd - 1) == NULL)
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
(void)getcwd(buf, sizeof(buf));
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
(void)getcwd(buf, sizeof(buf));
if (getcwd(buf, sizeof(buf)) == NULL)
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
ASSERT(path = getcwd(wd, sizeof wd));
if (getcwd(resolved, PATH_MAX) == NULL) {
if (getcwd(curdir, sizeof(curdir)) == NULL) {
if (getcwd(cwd, sizeof(cwd)) == NULL)
if (getcwd(pwd, sizeof(pwd)) == NULL)
if (getcwd(pwd, sizeof(pwd)) == NULL)
if (getcwd(wdir, sizeof(wdir)) == NULL)
if (getcwd(wdir, sizeof(wdir)) == NULL)
if (getcwd(fpath, sizeof(fpath)) == NULL)
if (getcwd(pwd, sizeof(pwd)) == NULL)
if ((wdir = getcwd(cwd, sizeof(cwd))) == NULL)
if (getcwd(pwd, sizeof(pwd)) == NULL)
if (getcwd(cwdpath, sizeof(cwdpath)) == NULL)
if (getcwd(buf, sizeof(buf)) != NULL)
if (getcwd(buf, sizeof(buf)) != NULL)
if (getcwd(localcwd, sizeof(localcwd)) == NULL)
cwd = getcwd(NULL, 0);
if (getcwd(startdir, sizeof(startdir)) == NULL) {
if (getcwd(buf, PATH_MAX) == NULL) {
if (getcwd(mgcwd, sizeof(mgcwd)) == NULL)
if ((bufp = getcwd(mgcwd, sizeof(mgcwd))) == NULL) {
if (getcwd(dname, sizeof(dname)) == NULL)
if (getcwd(dname, sizeof(dname)) == NULL)
if (getcwd(cwd, sizeof(cwd)) == 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))) {
if (getcwd(path, sizeof path) != NULL) {
if (getcwd(cwd, sizeof cwd) == NULL)
if (getcwd(buf, sizeof(buf)) != NULL)
if (strchr(path, '/') == NULL && getcwd(buf, sizeof(buf)) != NULL) {
startdir = getcwd(dirbuffer, sizeof dirbuffer);
getcwd(cwd, sizeof(cwd)) == NULL) {
if (getcwd(src, sizeof(src)) == NULL)
if (getcwd(buf, sizeof(buf)) == NULL)
if ((cflag || sflag) && !getcwd(fullpath, sizeof fullpath))
if(!getcwd(oldwd, sizeof(oldwd))) {