Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
modules
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
pmci
►
portability
▼
posix
►
arpa
►
net
►
netinet
►
sys
►
aio.h
►
dirent.h
►
fcntl.h
►
fnmatch.h
►
grp.h
►
mqueue.h
►
netdb.h
►
poll.h
►
posix_features.h
►
posix_types.h
►
pthread.h
►
pwd.h
►
sched.h
►
semaphore.h
►
signal.h
►
stropts.h
►
syslog.h
►
time.h
►
unistd.h
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
virtio
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
aio.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 Tenstorrent AI ULC
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_ZEPHYR_POSIX_AIO_H_
8
#define ZEPHYR_INCLUDE_ZEPHYR_POSIX_AIO_H_
9
10
#include <
signal.h
>
11
#include <
sys/types.h
>
12
#include <
time.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
struct
aiocb
{
19
int
aio_fildes
;
20
off_t
aio_offset
;
21
volatile
void
*
aio_buf
;
22
size_t
aio_nbytes
;
23
int
aio_reqprio
;
24
struct
sigevent
aio_sigevent
;
25
int
aio_lio_opcode
;
26
};
18
struct
aiocb
{
…
};
27
28
#if _POSIX_C_SOURCE >= 200112L
29
30
int
aio_cancel(
int
fildes,
struct
aiocb
*aiocbp);
31
int
aio_error(
const
struct
aiocb
*aiocbp);
32
int
aio_fsync(
int
filedes,
struct
aiocb
*aiocbp);
33
int
aio_read(
struct
aiocb
*aiocbp);
34
ssize_t
aio_return(
struct
aiocb
*aiocbp);
35
int
aio_suspend(
const
struct
aiocb
*
const
list[],
int
nent,
const
struct
timespec
*timeout);
36
int
aio_write(
struct
aiocb
*aiocbp);
37
int
lio_listio(
int
mode,
struct
aiocb
*
const
ZRESTRICT
list[],
int
nent,
38
struct
sigevent
*
ZRESTRICT
sig);
39
40
#endif
/* _POSIX_C_SOURCE >= 200112L */
41
42
#ifdef __cplusplus
43
}
44
#endif
45
46
#endif
/* ZEPHYR_INCLUDE_ZEPHYR_POSIX_AIO_H_ */
signal.h
time.h
ZRESTRICT
#define ZRESTRICT
Definition
common.h:37
types.h
ssize_t
__SIZE_TYPE__ ssize_t
Definition
types.h:28
off_t
__INTPTR_TYPE__ off_t
Definition
types.h:36
aiocb
Definition
aio.h:18
aiocb::aio_offset
off_t aio_offset
Definition
aio.h:20
aiocb::aio_buf
volatile void * aio_buf
Definition
aio.h:21
aiocb::aio_nbytes
size_t aio_nbytes
Definition
aio.h:22
aiocb::aio_sigevent
struct sigevent aio_sigevent
Definition
aio.h:24
aiocb::aio_reqprio
int aio_reqprio
Definition
aio.h:23
aiocb::aio_lio_opcode
int aio_lio_opcode
Definition
aio.h:25
aiocb::aio_fildes
int aio_fildes
Definition
aio.h:19
sigevent
Definition
signal.h:98
timespec
Definition
_timespec.h:22
zephyr
posix
aio.h
Generated on Thu Jun 5 2025 21:07:55 for Zephyr API Documentation by
1.12.0