summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysconf.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't bother asking the kernel about _SC_FSYNC; it's not optional.wollman2002-07-151-4/+3
|
* A break after a return is useless.dd2002-03-241-1/+0
|
* Fix SCM ID's.obrien2002-02-011-5/+2
|
* Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).jkoshy2001-12-011-0/+8
| | | | | | | | This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix. PR: bin/27489 Submitted by: Arun Sharma <arun@sharma-home.net> Reviewed by: bde (prior version)
* After one too many PRs on the subject, bite the bullet and define IOV_MAXwollman2001-06-181-0/+12
| | | | | | | | and its associated constants. Implement _SC_IOV_MAX in the usual way. Be a bit sloppy about the namespace question; this should get cleared up in time for 5.0. MFC after: 1 month
* Add a trivial mechanism for returning a useful default value if one ismsmith1998-06-011-1/+4
| | | | | | | | | available and the kernel MIB setting is zero. Return the result from getpagesize() if the p1003_1b.pagesize MIB value is zero. Suggested by: Joerg Schilling <schilling@fokus.gmd.de>
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-281-53/+54
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Reviewed by: bdedufault1998-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test.
* Reviewed by: msmith, bde long agodufault1998-03-041-0/+107
| | | | | POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
* Include sys/time.h, not sys/user.h.dg1995-12-081-1/+1
| | | | Submitted by: "Marc G. Fournier" <scrappy@hub.org>
* Add #include <sys/user.h>.phk1995-10-281-0/+1
|
* Minor cleanup, mostly unused vars and missing #includes.phk1995-10-221-1/+0
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Include <time.h> instead of <sys/time.h> to get CLK_TCK. Includingbde1995-02-031-1/+1
| | | | | <sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL is not defined, but is ugly.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+188
OpenPOWER on IntegriCloud