summaryrefslogtreecommitdiffstats
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2001-03-04 01:22:23 +0000
committeralc <alc@FreeBSD.org>2001-03-04 01:22:23 +0000
commit6a1cc9f79fb9e7eafdea1794998b46874779b495 (patch)
treee73fca460a4fce5fe0a82ca058fef23716251e96 /sys/sys/aio.h
parent61126b1ae1ff5743fc2c00d1ae62c6e4cdd09b87 (diff)
downloadFreeBSD-src-6a1cc9f79fb9e7eafdea1794998b46874779b495.zip
FreeBSD-src-6a1cc9f79fb9e7eafdea1794998b46874779b495.tar.gz
Remove the field privatemodes from struct __aiocb_private and the
related code from aio_read() and aio_write(). This field was intended, but never used, to allow a mythical user-level library to make an aio_read() or aio_write() behave like an ordinary read() or write(), i.e., a blocking I/O operation.
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index de1db8e..0f21566 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -50,24 +50,12 @@
#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
- * or async operations in the future.)
- */
-#define AIO_PMODE_SYNC 0x1
-#define AIO_PMODE_DONE 0x2
-#define AIO_PMODE_SUSPEND 0x4
-#define AIO_PMODE_ACTIVE 0x2357c0de
-
-/*
* Private members for aiocb -- don't access
* directly.
*/
struct __aiocb_private {
long status;
long error;
- long privatemodes;
void *kernelinfo;
};
OpenPOWER on IntegriCloud