History log of /src/lib/libc/gen/sysconf.3
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.57 21-Mar-2024 uwe

sysconf(3): a few more markup fixes


# 1.56 21-Mar-2024 uwe

sysconf(3): the _SC constants are .Dv


# 1.55 21-Mar-2024 uwe

sysconf(3): NUL is not a defined variable


# 1.54 21-Mar-2024 uwe

sysconf(3): POSIX text doesn't capitalize "option".


# 1.53 21-Mar-2024 wiz

Fix NUL/NULL confusion.

One of these was reported by Mouse in PR 58058.


# 1.52 25-Oct-2023 simonb

Add _SC_AVPHYS_PAGES.
getconf(1) add this and SC_PHYS_PAGES.
libc: Use vm.uvmexp2 over vm.meter is it's twice as fast on my setup.
getconf.3: Tidy up wording for SC_PHYS_PAGES.


Revision tags: netbsd-10-1-RELEASE netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806
# 1.51 03-Aug-2016 ryoon

Fix _SC_TIMER_MAX listing, bump date


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.50 05-Jul-2016 wiz

branches: 1.50.2;
Bump date for _SC_THREAD_PRIO_PROTECT.


# 1.49 03-Jul-2016 christos

GSoC 2016 Charles Cui: Implement thread priority protection based on work
by Andy Doran. Also document the get/set pshared thread calls as not
implemented, and add a skeleton implementation that is disabled.
XXX: document _sched_protect(2).


# 1.48 10-Jun-2016 christos

GSoC 2016: Charles Cui: Add timer related macros
_POSIX_CPUTIME
_POSIX_THREAD_CPUTIME
_POSIX_DELAYTIMER_MAX


# 1.47 10-Jun-2016 wiz

Bump date for previous.


# 1.46 10-Jun-2016 christos

GSoC 2016: Charles Cui: add SEM_NSEMS_MAX


# 1.45 26-Feb-2016 christos

Add _SC_TIMER_MAX


# 1.44 20-Aug-2015 wiz

Bump date for previous.


# 1.43 20-Aug-2015 pgoyette

P1003_1B_SEMAPHORE is no longer optional


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 tls-maxphys-base
# 1.42 03-Nov-2012 wiz

Remove trailing whitespace.


# 1.41 02-Nov-2012 christos

Add _SC_PHYS_PAGES


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.40 23-Aug-2011 jmcneill

branches: 1.40.2; 1.40.4; 1.40.8;
maxmimum -> maximum


# 1.39 09-Aug-2011 jruoho

Xref limits(3).


Revision tags: cherry-xenmp-base
# 1.38 29-Apr-2011 wiz

Mark up NULL.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.37 22-Mar-2010 joerg

Use .In for header files instead of .Ar Pa and variations.


Revision tags: matt-premerge-20091211
# 1.36 18-May-2009 wiz

Bump date for last effective change (2008).


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.35 15-Mar-2009 joerg

Remove redundant markup as .Bl does vertical spacing already.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.34 06-Aug-2008 matt

branches: 1.34.6; 1.34.8;
Add support for missing _SC_* constants for sysconf().
From andy dot shevchenko at gmail dot com


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
# 1.33 15-Oct-2007 ad

branches: 1.33.8;
Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These
are extensions but are provided by many Unix systems.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base wrstuden-fixsa-base netbsd-4-base
# 1.32 14-Aug-2006 rpaulo

branches: 1.32.8;
We support the POSIX Clock Selection Option.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.31 10-Nov-2004 lukem

branches: 1.31.6;
Document _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX


# 1.30 23-Apr-2004 simonb

s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.29 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 1.28 09-Jul-2003 kleink

Fix pasto in 1.26; spotted by Thomas Klausner.


# 1.27 09-Jul-2003 wiz

Drop trailing spaces.


# 1.26 09-Jul-2003 kleink

Mention related kernel options where applicable.


# 1.25 01-May-2003 wiz

Grammar and mdoc fixes from jmc@openbsd.


# 1.24 16-Apr-2003 wiz

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.


# 1.23 10-Feb-2003 wiz

Drop trailing whitespace.


# 1.22 02-Feb-2003 kleink

Add sysconf(3) knobs for recent additions.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.21 19-Dec-2002 kleink

Add a sysconf(3) knob for {ATEXIT_MAX}.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.20 08-Feb-2002 kleink

Untangle the description of {MONOTONIC_CLOCK} somewhat.


# 1.19 07-Feb-2002 ross

Generate <>& symbolically.


# 1.18 31-Jan-2002 kleink

Add {POSIX_MONOTONIC_CLOCK} variables.


# 1.17 16-Sep-2001 wiz

Standardize section headers, sort sections, sort SEE ALSO, punctuation
and misc. fixes.


# 1.16 16-Sep-2001 wiz

Boring whitespace fixes.


# 1.15 29-Aug-2000 kleink

branches: 1.15.2;
{OPEN_MAX} does not apply to a user but a single process; noticed by Brook
Milligan on current-users.


Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.14 27-Sep-1999 kleink

branches: 1.14.6;
Move {XOPEN_SHM} from Commands & Utilities to System Interfaces.


# 1.13 27-Sep-1999 kleink

1003.1c: add {LOGIN_NAME_MAX}.


# 1.12 24-Jun-1999 kleink

branches: 1.12.2;
Add compile-time and run-time feature test knobs for the 1003.1 Mapped Files,
Process Memory Locking, Range Memory Locking and Memory Protection options.


Revision tags: netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.11 22-Mar-1999 garbled

branches: 1.11.2;
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!


# 1.10 09-Mar-1999 erh

Add missing .El lines.


# 1.9 03-Aug-1998 kleink

Add support for _SC_SYNCHRONIZED_IO and _SC_IOV_MAX. Rearrange documentation
a bit, and actually document _SC_XOPEN_SHM.


# 1.8 24-May-1998 kleink

Add support to query PAGESIZE, PAGE_SIZE, _POSIX_FSYNC and _XOPEN_SHM via
sysconf().


# 1.7 28-Apr-1998 fair

Fix mdoc .Xr reference for syntax or correctness (e.g. exec(2) versus exec(3)).
Make other mdoc corrections as inspection dictated.


# 1.6 05-Feb-1998 perry

add LIBRARY section to man page


# 1.5 03-Feb-1998 perry

.Bx'ize


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.4 14-Jul-1997 kleink

Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION
to 199009L, bump existing statements to 1003.1-1990.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.3 12-Oct-1995 jtc

Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations. Also fixes decription
of _SC_CLK_TCK in sysconf(3). See PR #1587 and PR #1589 for details.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.2 27-Feb-1995 cgd

merge with 4.4-Lite, keeping local changes. clean up Ids


# 1.1 07-May-1994 cgd

branches: 1.1.1;
Initial revision