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
►
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
confstr.h
►
dirent.h
►
eventfd.h
►
ioctl.h
►
mman.h
►
select.h
►
socket.h
►
stat.h
sysconf.h
►
time.h
►
utsname.h
►
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
►
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
dirent.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Tenstorrent AI ULC
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_POSIX_SYS_DIRENT_H_
8
#define ZEPHYR_INCLUDE_POSIX_SYS_DIRENT_H_
9
10
#include <
limits.h
>
11
12
#include <
zephyr/posix/posix_features.h
>
13
14
#if !defined(NAME_MAX) && defined(_XOPEN_SOURCE)
15
#define NAME_MAX _XOPEN_NAME_MAX
16
#endif
17
18
#if !defined(NAME_MAX) && defined(_POSIX_C_SOURCE)
19
#define NAME_MAX _POSIX_NAME_MAX
20
#endif
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
typedef
void
DIR
;
27
28
struct
dirent
{
29
unsigned
int
d_ino
;
30
char
d_name
[NAME_MAX + 1];
31
};
28
struct
dirent
{
…
};
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
/* ZEPHYR_INCLUDE_POSIX_SYS_DIRENT_H_ */
limits.h
posix_features.h
dirent
Definition
dirent.h:28
dirent::d_name
char d_name[NAME_MAX+1]
Definition
dirent.h:30
dirent::d_ino
unsigned int d_ino
Definition
dirent.h:29
DIR
void DIR
Definition
dirent.h:26
zephyr
posix
sys
dirent.h
Generated on Sat May 17 2025 15:07:12 for Zephyr API Documentation by
1.12.0