summaryrefslogtreecommitdiff
path: root/lib/libc/gen/sysconf.c
AgeCommit message (Expand)Author
2025-10-29libc: report _SC_NPROCESSORS_ONLN more accurately in cpu-limited jailsKyle Evans
2025-09-27tzcode: Fix issues when TZ is an absolute pathDag-Erling Smørgrav
2025-06-11Add POSIX NSIG_MAX & _SC_NSIGRicardo Branco
2025-05-31sysconf(3): add _SC_UEXTERR_LEN, the max length of the extended error stringKonstantin Belousov
2025-05-24libc: set close-on-exec for temp socket used to detect IPv6 supportKonstantin Belousov
2024-02-13Update tzcode to 2024a.Dag-Erling Smørgrav
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2018-11-19Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3).Edward Tomasz Napierala
2018-07-03Clean up the vcs ID strings in libc's gen/ directory.John Baldwin
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-04-12Report _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX which show parametersKonstantin Belousov
2017-02-28Renumber copyright clause 4Warner Losh
2015-12-20libc: Use namespace.h in a few more files.Jilles Tjoelker
2015-09-20Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues
2014-07-09Implement sysconf(_SC_GETGR_R_SIZE_MAX) and sysconf(_SC_GETPW_R_SIZE_MAX).Konstantin Belousov
2012-08-17Implement syscall clock_getcpuclockid2, so we can get a clock idDavid Xu
2012-06-27Optimize the handling of SC_NPROCESSORS_CONF, by using auxv AT_NCPUKonstantin Belousov
2011-06-16Use size of int to fetch sysctl kern.sched.cpusetsize because it hadDavid Xu
2010-10-29Add sysctl kern.sched.cpusetsize to export the size of kernel cpuset,David Xu
2010-02-26Split the contributed code from libc/stdtime from lib/libc/stdtimeEdwin Groothuis
2008-02-27stdio is currently limited to file descriptors not greater thanGarrett Wollman
2007-04-14Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operatesPawel Jakub Dawidek
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2006-12-14band-aide until _SC_PHYS_PAGES actually is definedWarner Losh
2006-12-14Add support for _SC_PHYS_PAGES, which is not standard, but can be found inPawel Jakub Dawidek
2002-11-17goto break; != break;Doug Barton
2002-11-17Rework the sysconf(3) interaction with aio:Alfred Perlstein
2002-11-16Provide more correct default values for sysconf(3) reporting of the AIOAlfred Perlstein
2002-10-27Update limits and configuration parameters for 1003.1/TC1/D6.Garrett Wollman
2002-09-21Initiate deorbit burn sequence for sysctl CTL_USER MIB branch.Garrett Wollman
2002-07-15Don't bother asking the kernel about _SC_FSYNC; it's not optional.Garrett Wollman
2002-03-24A break after a return is useless.Dima Dorfman
2002-02-01Fix SCM ID's.David E. O'Brien
2001-12-01Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).Joseph Koshy
2001-06-18After one too many PRs on the subject, bite the bullet and define IOV_MAXGarrett Wollman
1998-06-01Add a trivial mechanism for returning a useful default value if one isMike Smith
1998-03-28Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B andPeter Dufault
1998-03-08Reviewed by: bdePeter Dufault
1998-03-04Reviewed by: msmith, bde long agoPeter Dufault
1995-12-08Include sys/time.h, not sys/user.h.David Greenman
1995-10-28Add #include <sys/user.h>.Poul-Henning Kamp
1995-10-22Minor cleanup, mostly unused vars and missing #includes.Poul-Henning Kamp
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1995-02-03Include <time.h> instead of <sys/time.h> to get CLK_TCK. IncludingBruce Evans
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes