Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git] / conform / data / aio.h-data
blob75698cb39b25bf2d6140cbda3b0c18cf23cb913d
1 #ifndef ISO
2 type {struct aiocb}
4 // Test elements of the AIO control struct.
5 element {struct aiocb} int aio_fildes
6 element {struct aiocb} off_t aio_offset
7 element {struct aiocb} {volatile void*} aio_buf
8 element {struct aiocb} size_t aio_nbytes
9 element {struct aiocb} int aio_reqprio
10 element {struct aiocb} {struct sigevent} aio_sigevent
11 element {struct aiocb} int aio_lio_opcode
13 constant AIO_CANCELED
14 constant AIO_NOTCANCELED
15 constant AIO_ALLDONE
16 constant LIO_WAIT
17 constant LIO_NOWAIT
18 constant LIO_READ
19 constant LIO_WRITE
20 constant LIO_NOP
22 function int aio_cancel (int, struct aiocb*)
23 function int aio_error (const struct aiocb*)
24 function int aio_fsync (int, struct aiocb*)
25 function int aio_read (struct aiocb*)
26 function ssize_t aio_return (struct aiocb*)
27 function int aio_suspend (const struct aiocb* const[], int, const struct timespec*)
28 function int aio_write (struct aiocb*)
29 function int lio_listio (int, struct aiocb *const[], int, struct sigevent*)
31 # if !defined POSIX
32 allow-header fcntl.h
33 allow-header signal.h
34 allow-header sys/types.h
35 allow-header time.h
36 # endif
38 allow aio_*
39 allow lio_*
40 allow AIO_*
41 allow LIO_*
42 allow *_t
43 #endif