summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-03-23 08:47:28 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-03-23 08:47:28 +0000
commit53fcc63c106e7bf81c2b1e17c58c6b6390e4a63d (patch)
treed41a634ab8f26b07abf271a9875df37442bad946
parent99eee864ad0e987b019a267eaf9e119c64026af1 (diff)
Notes
-rw-r--r--sys/sys/aio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index 1b09e490ecee..581bdf2f3064 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -36,6 +36,9 @@
#define LIO_NOP 0x0
#define LIO_WRITE 0x1
#define LIO_READ 0x2
+#ifdef _KERNEL
+#define LIO_SYNC 0x3
+#endif
/*
* LIO modes
@@ -121,6 +124,7 @@ int aio_suspend(const struct aiocb * const[], int, const struct timespec *);
int aio_waitcomplete(struct aiocb **, struct timespec *);
+int aio_fsync(int op, struct aiocb *aiocbp);
__END_DECLS
#else