git: sysconf.3: Remove wrong info about "minimum maximum" values.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Jun 15 07:57:04 PDT 2021


commit f640659815599167204a0855cb305145619c8a83
Author: Sascha Wildner <saw at online.de>
Date:   Tue Jun 15 16:52:45 2021 +0200

    sysconf.3: Remove wrong info about "minimum maximum" values.
    
    _SC_STREAM_MAX and _SC_TZNAME_MAX do not return the lower bounds of
    the respective maximum limits as the manual page claims, but instead
    the actual maximum values.
    
    See the table here:
    https://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html
    
    What the manual page is really thinking of are _POSIX_STREAM_MAX and
    _POSIX_TZNAME_MAX. But those are not retrievable with sysconf(), as
    there are no corresponding _SC_* constants for them.
    
    While here, fix a typo (types -> bytes).

Summary of changes:
 lib/libc/gen/sysconf.3 | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f640659815599167204a0855cb305145619c8a83


-- 
DragonFly BSD source repository


More information about the Commits mailing list