Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
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
#if !defined(NAME_MAX) && defined(_XOPEN_SOURCE)
13
#define NAME_MAX _XOPEN_NAME_MAX
14
#endif
15
16
#if !defined(NAME_MAX) && defined(_POSIX_C_SOURCE)
17
#define NAME_MAX _POSIX_NAME_MAX
18
#endif
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
typedef
void
DIR
;
25
26
struct
dirent
{
27
unsigned
int
d_ino
;
28
char
d_name
[NAME_MAX + 1];
29
};
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
/* ZEPHYR_INCLUDE_POSIX_SYS_DIRENT_H_ */
limits.h
dirent
Definition
dirent.h:26
dirent::d_name
char d_name[NAME_MAX+1]
Definition
dirent.h:28
dirent::d_ino
unsigned int d_ino
Definition
dirent.h:27
DIR
void DIR
Definition
dirent.h:24
zephyr
posix
sys
dirent.h
Generated on
for Zephyr API Documentation by
1.14.0