repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git]
/
tools
/
build
/
feature
/
test-libaio.c
blob
932133c9a26582a4d3d1366929c3c39d7911afbe
1
// SPDX-License-Identifier: GPL-2.0
2
#include <aio.h>
3
4
int
main
(
void
)
5
{
6
struct
aiocb aiocb
;
7
8
aiocb
.
aio_fildes
=
0
;
9
aiocb
.
aio_offset
=
0
;
10
aiocb
.
aio_buf
=
0
;
11
aiocb
.
aio_nbytes
=
0
;
12
aiocb
.
aio_reqprio
=
0
;
13
aiocb
.
aio_sigevent
.
sigev_notify
=
1
/*SIGEV_NONE*/
;
14
15
return
(
int
)
aio_return
(&
aiocb
);
16
}