summaryrefslogtreecommitdiff
path: root/libc/unistd
AgeCommit message (Collapse)Author
2002-08-07rework getopt. no read need to split this one up sinceEric Andersen
the parts are so tightly coupled.
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
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
2002-06-15Prevent buffer overflowEric Andersen
2002-06-09Oops. Forgot to check this in. Thanks Martin Volf for noticingEric Andersen
-Erik
2002-05-31Patch from Robert Griebl <griebl@gmx.de> to supportEric Andersen
getusershell() and friends.
2002-04-11Fixed broken shell syntax.David McCullough
2002-04-09Only set no buffering if we opened the file. Also, don't bother restoringManuel Novoa III
buffering since we will close the file in that case anyway.
2002-04-09Per discussion on the mailing list, fix getpass properly.Eric Andersen
-Erik
2002-04-06Faster implementation from Miles BaderEric Andersen
2002-04-05Patch from Axel Barnitzke <barney@xkontor.com> to fixupEric Andersen
a problem with getpass() echoing passwords...
2002-04-03Add the xopen swab() function, contributed by Kensuke Otake ↵Eric Andersen
<kensuke@phreaker.net>
2002-01-11Fix indentingEric Andersen
2002-01-09Be more carefull about erroring out of shell fragments. Try toEric Andersen
enable -falign-functions if avilable.
2002-01-03Make getopt act the same regardless whether the app was staticly linkedEric Andersen
or dynamicly linked. Obeys the principle of least surprise. -Erik
2002-01-02Take the shorcut version, which is good enough forEric Andersen
nearly all normal usage. -Erik
2002-01-02Fix usleep to work correctly. Fix sleep behavior in theEric Andersen
presence of SIGCHLD. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-24Silly us. Don't try to free alloca'd memory.Eric Andersen
-Erik
2001-11-21pathconf can't use fpathconf or it will block opening FIFOsEric Andersen
2001-11-20Oops. Lets try that again.Eric Andersen
2001-11-20Fix up pathconf and friend so that test suits can workEric Andersen
2001-11-20Can't use CLK_TCK in here since /usr/include/bits/time.h nowEric Andersen
defines that as __sysconf(_SC_CLK_TCK) causing infinite recursion. -Erik
2001-11-05Disable fast search by default (doesn't work on coda for example)Eric Andersen
2001-10-14Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE isEric Andersen
supposed to be a number
2001-09-27Update to accomodate the header file changesEric Andersen
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-10Oops. Forgot the makefile updatesEric Andersen
2001-05-10These are needed for ash-0.3.8Eric Andersen
2001-05-07Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen
so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
2001-04-23Only compile in daemon() if the target has an MMU.Eric Andersen
-Erik
2001-04-20Stub out fpathconf() -- FIXMEEric Andersen
-Erik
2001-04-20Add in a trivial getlogin implementationEric Andersen
2001-04-20Add missing header file for daemon.c, add missing functions into unistd.h.Eric Andersen
I still need to implement getlogin.c fpathconf.c, but they are required for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't have them yet. But we will very very soon. :-) -Erik
2001-04-18Posix 1003.13 POSIX_MULTI_PROCESS specifies that execle() shouldEric Andersen
be there, so I just wrote it up. -Erik
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
2001-04-03Accomodate mmuless systems.Eric Andersen
2001-04-03Add in daemon.c, now used by busybox.Eric Andersen
-Erik
2001-03-20Add missed dependency. TODO: Should build gen_sysconf when cross-compiling.Manuel Novoa III
2001-03-20I think this fixes the dependancy problems. Manuel, can youEric Andersen
double check that this is what you intended? -Erik
2001-03-05Patch from Jean-Yves Avenard to move the getopt globals to theirEric Andersen
own file, since at least on SH, weak variables with initial values (.data stuff) were not working. Moving these to their own file seems to be a good way to handle it.
2001-02-09Use __environ instead of the GNU extension environ.Eric Andersen
-Erik
2001-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
2001-01-29The rules to build sysconf_$(TARGET_ARCH).c were broken when crossDavid McCullough
compiling.
2001-01-29DIRS was not set in this makefile and could be inherited from theDavid McCullough
environment.
2001-01-27Enable auto-generation of a size-optimized sysconf function (saves .5k on i386).Manuel Novoa III
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.
2001-01-17Added missing _SC_2_FORT_RUN case. Fixed _SC_ATEXIT_MAX to match atexit.c.Manuel Novoa III