diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 17:02:05 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 17:02:05 +0100 |
| commit | 90dad97fc07f049383903a166631e2c257f9b8c1 (patch) | |
| tree | 096cd247ecfda9e46598215a4f32aecedeedda90 /lib/libc/include/__aio.h | |
| parent | 0e832a9329cc4d4647e1ce529846073f21e66991 (diff) | |
Add support for TLS in the libc
Diffstat (limited to 'lib/libc/include/__aio.h')
| -rw-r--r-- | lib/libc/include/__aio.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/libc/include/__aio.h b/lib/libc/include/__aio.h deleted file mode 100644 index 93cb1f79..00000000 --- a/lib/libc/include/__aio.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef __LIBC_AIO_H -#define __LIBC_AIO_H - -#include <aio.h> - -#define AIO_REQUEST_STATUS_PENDING 0 -#define AIO_REQUEST_STATUS_COMPLETED 1 - -struct lio_group { - int pending; - int error; - int eventfd; - struct sigevent *sig; -}; - -struct aio_context { - struct aio_request *head; - struct aio_request *tail; -}; - -struct aio_request { - struct aiocb *aiocbp; - int status; - ssize_t result; - struct aio_request *next; - struct lio_group *grp; -}; - -void __aio_poll(void); - -int __aio_request(struct aio_request *, int); -struct aio_request *__aio_lookup(const struct aiocb *); -struct aio_request *__aio_remove(const struct aiocb *); - -#endif |
