aio: Make sysconf() report correct value.
authorStathis Kamperis <beket@dragonflybsd.org>
Mon, 21 Dec 2009 20:42:39 +0000 (22:42 +0200)
committerStathis Kamperis <beket@dragonflybsd.org>
Mon, 21 Dec 2009 21:33:36 +0000 (23:33 +0200)
commit08fc2af97081039b29e8979adab62acd128edfc9
tree48b74aa0c25f1defd57988ffd3f90b3ed0f3e1f4
parent757483ac9e91300d223bc30f75f8dc40652ceea1
aio: Make sysconf() report correct value.

Issue 6 says that _POSIX_ASYNCHRONOUS_IO shall be defined equal to
-1, 0, or 200112L. But sysconf() shall report either -1 or 200112L.

We provide headers, data types and functions for the AIO interface,
but not any actual implementation. This means that the symbol
_POSIX_ASYNCHRONOUS_IO shall be 0 (it is already) and sysconf()
shall return -1 (it didn't until now).
sys/kern/kern_p1003_1b.c