Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fs_interface.h File Reference

File system core structures and file name length limits. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  fs_file_t
 File object representing an open file. More...
struct  fs_dir_t
 Directory object representing an open directory. More...

Macros

#define MAX_FILE_NAME   12
 Maximum length of a file name, without the terminating null character.

Typedefs

typedef uint8_t fs_mode_t
 Type for fs_open() flags.

Detailed Description

File system core structures and file name length limits.

Macro Definition Documentation

◆ MAX_FILE_NAME

#define MAX_FILE_NAME   12

Maximum length of a file name, without the terminating null character.

The value depends on the enabled file systems. The standard 8.3 length is used when no file system is explicitly selected.

Typedef Documentation

◆ fs_mode_t

typedef uint8_t fs_mode_t

Type for fs_open() flags.