summaryrefslogtreecommitdiff
path: root/PACE/pace/posix/aio.h
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-16 19:20:15 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-16 19:20:15 +0000
commit3a89b46748ccd876c7b4c4a36dc89d9f85fe3617 (patch)
tree6868f957fc2fe4cd63cad5c3248717d102827e6a /PACE/pace/posix/aio.h
parent207fa1e6f116a99beec0cf7482f4579d7bd6a9a2 (diff)
downloadATCD-3a89b46748ccd876c7b4c4a36dc89d9f85fe3617.tar.gz
Fri Jun 16 14:11:44 2000 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE/pace/posix/aio.h')
-rw-r--r--PACE/pace/posix/aio.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/PACE/pace/posix/aio.h b/PACE/pace/posix/aio.h
new file mode 100644
index 00000000000..e3ac4695938
--- /dev/null
+++ b/PACE/pace/posix/aio.h
@@ -0,0 +1,59 @@
+/* $Id$
+
+ * ============================================================================
+ *
+ * = LIBRARY
+ * pace
+ *
+ * = FILENAME
+ * aio.h
+ *
+ * = AUTHOR
+ * Luther Baker
+ *
+ * ============================================================================ */
+
+
+#ifndef PACE_AIO_H
+#define PACE_AIO_H
+
+
+#include "pace/defines.h"
+#include <aio.h>
+
+
+# if defined (PACE_HAS_CPLUSPLUS)
+extern "C" {
+# endif /* PACE_HAS_CPLUSPLUS */
+
+ PACE_INLINE int pace_aio_cancel (int fildes, struct aiocb * aiocb);
+
+ PACE_INLINE int pace_aio_error (const struct aiocb * aiocbp);
+
+ PACE_INLINE int pace_aio_fsync (int op, struct aiocb * aiocbp);
+
+ PACE_INLINE int pace_aio_read (struct aiocb * aiocbp);
+
+ PACE_INLINE int pace_aio_return (struct aiocb * aiocbp);
+
+ PACE_INLINE int pace_aio_suspend (const struct aiocb * const list[],
+ int nent,
+ const struct timespec * timeout);
+
+ PACE_INLINE int pace_aio_write (struct aiocb * aiocbp);
+
+ PACE_INLINE int pace_lio_listio (int mode,
+ struct aiocb * const list[],
+ int nent,
+ struct sigevent * sig);
+
+# if defined (PACE_HAS_CPLUSPLUS)
+}
+# endif /* PACE_HAS_CPLUSPLUS */
+
+# if defined (PACE_HAS_INLINE)
+# include "aio.inl"
+# endif /* PACE_HAS_INLINE */
+
+
+#endif /* PACE_AIO_H */