summaryrefslogtreecommitdiff
path: root/libc/unistd/sysconf.c
AgeCommit message (Collapse)Author
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-03More hiding, including __mempcpyPeter S. Mazinger
2005-11-29Hiding againPeter S. Mazinger
2005-11-26100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger
2005-09-21include headers only if the related option is enabledPeter S. Mazinger
2004-07-15Cleanup a few of the more egregiously broken sysconf values toEric Andersen
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
2003-11-05Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen
static version. This will need further work later on, but should do the job for the time being,
2002-12-04For now, always claim we have exactly one cpu. It shouldEric Andersen
generally be the truth...
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.
2001-11-20Oops. Lets try that again.Eric 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-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-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-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
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
2000-11-16Bad Erik. Repeat after me: "I will always compile before I commit".Eric Andersen
-Erik
2000-11-16Doh!!! I am an idiot. I had broken malloc by disabling getpagesize(), and IEric Andersen
didn't even do it for a good reason. Fixed, so malloc should work again... -Erik
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.