^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #include <aio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) int main(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) struct aiocb aiocb;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) aiocb.aio_fildes = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) aiocb.aio_offset = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) aiocb.aio_buf = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) aiocb.aio_nbytes = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) aiocb.aio_reqprio = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) aiocb.aio_sigevent.sigev_notify = 1 /*SIGEV_NONE*/;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) return (int)aio_return(&aiocb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) }