From 53fcc63c106e7bf81c2b1e17c58c6b6390e4a63d Mon Sep 17 00:00:00 2001 From: David Xu Date: Thu, 23 Mar 2006 08:47:28 +0000 Subject: [PATCH] Add aio_fsync() prototype. --- sys/sys/aio.h | 4 ++++ 1 file changed, 4 insertions(+) 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