summaryrefslogtreecommitdiffstats
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1998-03-08 17:25:38 +0000
committerdufault <dufault@FreeBSD.org>1998-03-08 17:25:38 +0000
commitd3dd91fcbc3fdd38db7fa5e2a844a103e8090a00 (patch)
tree01a8747d7362e70e0f5e23b70dbcda75cf6092e8 /sys/sys/aio.h
parent84b7fbfa292269f69d459cbb4ecf1c921bb167c3 (diff)
downloadFreeBSD-src-d3dd91fcbc3fdd38db7fa5e2a844a103e8090a00.zip
FreeBSD-src-d3dd91fcbc3fdd38db7fa5e2a844a103e8090a00.tar.gz
Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test.
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index 4b1604b..09627da 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -16,40 +16,11 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: aio.h,v 1.2 1997/07/17 04:49:43 dyson Exp $
+ * $Id: aio.h,v 1.3 1997/12/08 02:18:14 dyson Exp $
*/
#include <sys/types.h>
-/**************************************************************************/
-/* Additions to signal.h -- hack alert. */
-/**************************************************************************/
-/*
- * sigval structure:
- */
-union sigval {
- int sival_int;
- void *sival_ptr;
-};
-
-/*
- * this is the sigevent structure:
- */
-struct sigevent {
- int sigev_notify; /* Notification */
- int sigev_signo; /* Signal number */
- union sigval sigev_value; /* Not used yet in FreeBSD */
-};
-
-/*
- * values for sigev_notify:
- */
-#define SIGEV_NONE 0 /* Don't post a signal */
-#define SIGEV_SIGNAL 1 /* Post specified signal */
-
-/**************************************************************************/
-/* Actual AIO header */
-/**************************************************************************/
/*
* Returned by aio_cancel:
* (Note that FreeBSD's aio is not cancellable -- yet.)
@@ -72,11 +43,6 @@ struct sigevent {
#define LIO_WAIT 0x1
/*
- * Maximum number of allowed LIO operations
- */
-#define AIO_LISTIO_MAX 16
-
-/*
* Private mode bit for aio.
* (This bit is set by the library routine
* to allow the kernel to support sync
OpenPOWER on IntegriCloud