summaryrefslogtreecommitdiff
path: root/libc/unistd/getcwd.c
AgeCommit message (Collapse)Author
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2001-11-05Disable fast search by default (doesn't work on coda for example)Eric Andersen
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2000-10-30getcwd did not include the alloc-space-as-needed-on-NULL-bufferEric Andersen
feature which busybox needed. So I added it.
2000-10-11Reorg unistd dirEric Andersen