summaryrefslogtreecommitdiffstats
path: root/libc/unistd/sysconf.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-3/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLNBernhard Reutner-Fischer2009-08-191-12/+12
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-3/+3
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-5/+4
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-201-1/+1
| | | | <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-211-21/+28
|
* Merge from trunk."Steven J. Hill"2006-08-211-0/+24
|
* Merge from trunk."Steven J. Hill"2006-02-251-5/+7
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-1/+2
|
* Merge from trunk."Steven J. Hill"2005-12-021-6/+4
|
* Big sync with trunk."Steven J. Hill"2005-09-241-0/+2
|
* Cleanup a few of the more egregiously broken sysconf values toEric Andersen2004-07-151-31/+15
| | | | | | | | actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik
* 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>.