summaryrefslogtreecommitdiff
path: root/src/unistd/getcwd.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-01support null buffer argument to getcwd, auto-allocating behaviorRich Felker1-1/+6
this is a popular extension some programs depend on, and by using a temporary buffer and strdup rather than malloc prior to the syscall, i've avoided the dependency on free and thus minimized the bloat cost of supporting this feature.
2011-03-20global cleanup to use the new syscall interfaceRich Felker1-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+8