Lines Matching refs:cwd
784 char cwd[MAXPATHLEN]; local
795 cwd[0] = '\0';
804 memcpy(cwd, relative_to, relative_to_len+1U);
806 result = VCWD_GETCWD(cwd, MAXPATHLEN);
827 cwd[0] = '\0';
830 cwd[0] = '\0';
834 new_state.cwd = estrdup(cwd);
835 new_state.cwd_length = strlen(cwd);
838 efree(new_state.cwd);
844 memcpy(real_path, new_state.cwd, copy_len);
847 real_path = estrndup(new_state.cwd, new_state.cwd_length);
849 efree(new_state.cwd);