Created
May 11, 2011 16:18
-
-
Save nu7hatch/966786 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
chdir(P_tmpdir); | |
char path[MAXPATHLEN]; | |
getcwd(path, MAXPATHLEN); | |
printf("%s\n", path); // => /private/var/tmp | |
printf("%s\n", P_tmpdir); // => /var/tmp | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment