summaryrefslogtreecommitdiff
path: root/include/aio.h
diff options
context:
space:
mode:
authorKacper Fiedorowicz <kf@efab.pl>2026-01-03 18:44:51 +0100
committerKacper Fiedorowicz <kf@efab.pl>2026-01-03 18:44:51 +0100
commit6018e17637264a9561b37be699c3d53b6661de23 (patch)
tree8546c9fa94358e7d6daaad5f11ac53e61be97ad5 /include/aio.h
parentab21f339a33abb1144f3c0f5c4285324e7e88392 (diff)
Add docs and nohup/unlink utitiliesHEADmaster
Diffstat (limited to 'include/aio.h')
-rw-r--r--include/aio.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/aio.h b/include/aio.h
index 0ac9c7d6..4518b23a 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -1,13 +1,10 @@
-#ifndef __AIO_H
-#define __AIO_H
+#pragma once
-#include <stddef.h>
-#include <time.h>
#define __BITS_SIGEVENT_H_
-#include <bits/sigevent.h>
+#include "bits/sigevent.h"
#define __BITS_TIMESPEC_H_
-#include <bits/timespec.h>
+#include "bits/timespec.h"
#define AIO_CANCELED 0
#define AIO_NOTCANCELED 1
@@ -42,5 +39,3 @@ ssize_t aio_return(struct aiocb *);
int aio_suspend(const struct aiocb *const[], int, const struct timespec *);
int aio_write(struct aiocb *);
int lio_listio(int, struct aiocb *restrict const[restrict], int, struct sigevent *restrict);
-
-#endif