Date: Fri, 15 Nov 2002 22:35:20 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen sysconf.c Message-ID: <200211160635.gAG6ZKUX094649@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2002/11/15 22:35:20 PST
Modified files:
lib/libc/gen sysconf.c
Log:
Provide more correct default values for sysconf(3) reporting of the AIO
subsystems capabilities:
_SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX
_SC_AIO_MAX returns the default _POSIX_AIO_MAX
_SC_AIO_PRIO_DELTA_MAX returns the default of 0
Without these adjustments the values returned are -1 even when the
aio side of the kernel returns '0' for them which is incorrect.
Noticed by: Craig Rodrigues <rodrigc@attbi.com>
Revision Changes Path
1.18 +3 -0 src/lib/libc/gen/sysconf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211160635.gAG6ZKUX094649>
