summaryrefslogtreecommitdiffstats
path: root/libc/unistd/sysconf.c
Commit message (Collapse)AuthorAgeFilesLines
* Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen2003-11-051-162/+0
| | | | | static version. This will need further work later on, but should do the job for the time being,
* For now, always claim we have exactly one cpu. It shouldEric Andersen2002-12-041-2/+4
| | | | generally be the truth...
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-151-4/+5
| | | | | | 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.
* Oops. Lets try that again.Eric Andersen2001-11-201-0/+2
|
* Can't use CLK_TCK in here since /usr/include/bits/time.h nowEric Andersen2001-11-201-7/+6
| | | | | defines that as __sysconf(_SC_CLK_TCK) causing infinite recursion. -Erik
* Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE isEric Andersen2001-10-141-1/+2
| | | | supposed to be a number
* Update to accomodate the header file changesEric Andersen2001-09-271-1/+6
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-4/+4
| | | | | | | 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
* Implement getdtablesize(), which is used by the rpc crap.Eric Andersen2001-02-091-1/+1
| | | | -Erik
* Enable auto-generation of a size-optimized sysconf function (saves .5k on i386).Manuel Novoa III2001-01-271-110/+305
|
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-251-2/+2
| | | | objects with shared uClibc; allow disabling long long support.
* Added missing _SC_2_FORT_RUN case. Fixed _SC_ATEXIT_MAX to match atexit.c.Manuel Novoa III2001-01-171-2/+9
|
* Bad Erik. Repeat after me: "I will always compile before I commit".Eric Andersen2000-11-161-1/+0
| | | | -Erik
* Doh!!! I am an idiot. I had broken malloc by disabling getpagesize(), and IEric Andersen2000-11-161-4/+1
| | | | | didn't even do it for a good reason. Fixed, so malloc should work again... -Erik
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-0/+855
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.