diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-03-09 19:05:11 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-03-09 19:05:11 +0000 |
commit | 399e8c17735c8b30fcdf27b7497e323b2143f626 (patch) | |
tree | 8f10f4a1be1d8dc37c4409555dc014be988a2269 /sys/sys/unistd.h | |
parent | b9befd33b4d3ab72c23b06adb74b60988b6cc31e (diff) | |
download | src-399e8c17735c8b30fcdf27b7497e323b2143f626.tar.gz src-399e8c17735c8b30fcdf27b7497e323b2143f626.zip |
Simplify AIO initialization now that it is standard.
- Mark AIO system calls as STD and remove the helpers to dynamically
register them.
- Use COMPAT6 for the old system calls with the older sigevent instead of
an 'o' prefix.
- Simplify the POSIX configuration to note that AIO is always available.
- Handle AIO in the default VOP_PATHCONF instead of special casing it in
the pathconf() system call. fpathconf() is still hackish.
- Remove freebsd32_aio_cancel() as it just called the native one directly.
Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D5589
Notes
Notes:
svn path=/head/; revision=296572
Diffstat (limited to 'sys/sys/unistd.h')
-rw-r--r-- | sys/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index d6d92ab31926..24291349185a 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -50,7 +50,7 @@ * returns -1, the functions may be stubbed out. */ #define _POSIX_ADVISORY_INFO 200112L -#define _POSIX_ASYNCHRONOUS_IO 0 +#define _POSIX_ASYNCHRONOUS_IO 200112L #define _POSIX_CHOWN_RESTRICTED 1 #define _POSIX_CLOCK_SELECTION (-1) #define _POSIX_CPUTIME 200112L |