diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /tests/headers/aio.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'tests/headers/aio.c')
| -rw-r--r-- | tests/headers/aio.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/headers/aio.c b/tests/headers/aio.c deleted file mode 100644 index eabdf4be..00000000 --- a/tests/headers/aio.c +++ /dev/null @@ -1,36 +0,0 @@ -// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/aio.h.html - -#include "core.h" - -#include <aio.h> - -TEST(aio_h) -{ - MACRO_VALUE(AIO_CANCELED, 0); - MACRO_VALUE(AIO_NOTCANCELED, 1); - MACRO_VALUE(AIO_ALLDONE, 2); - - MACRO_VALUE(LIO_READ, 0); - MACRO_VALUE(LIO_WRITE, 1); - MACRO_VALUE(LIO_NOP, 2); - - MACRO_VALUE(LIO_WAIT, 0); - MACRO_VALUE(LIO_NOWAIT, 1); - - TYPE(off_t); - TYPE(size_t); - TYPE(ssize_t); - TYPE(struct aiocb); - TYPE(struct sigevent); - TYPE(struct timespec); - - FUNCTION(aio_cancel, int (*_)(int, struct aiocb *)); - FUNCTION(aio_error, int (*_)(const struct aiocb *)); - FUNCTION(aio_fsync, int (*_)(int, struct aiocb *)); - FUNCTION(aio_read, int (*_)(struct aiocb *)); - FUNCTION(aio_return, ssize_t(*_)(struct aiocb *)); - FUNCTION(aio_suspend, int (*_)(const struct aiocb *const[], int, - const struct timespec *)); - FUNCTION(lio_listio, int (*_)(int, struct aiocb *restrict const[], int, - struct sigevent *restrict)); -} |
