CMSIS-Compiler Support  
Standard C Library File, I/O and OS Retargeting
 
Loading...
Searching...
No Matches

Macros

#define RT_OPEN_RDONLY   0x0000
 File Open Mode definitions.
 
#define RT_OPEN_WRONLY   0x0001
 Open file for writing only.
 
#define RT_OPEN_RDWR   0x0002
 Open file for reading and writing.
 
#define RT_OPEN_APPEND   0x0008
 Open file in append mode.
 
#define RT_OPEN_CREATE   0x0100
 Create file if it does not exist.
 
#define RT_OPEN_TRUNCATE   0x0200
 Truncate existing file.
 

Description

Macro Definition Documentation

◆ RT_OPEN_RDONLY

#define RT_OPEN_RDONLY   0x0000

File Open Mode definitions.

Open file for reading only

◆ RT_OPEN_WRONLY

#define RT_OPEN_WRONLY   0x0001

Open file for writing only.

◆ RT_OPEN_RDWR

#define RT_OPEN_RDWR   0x0002

Open file for reading and writing.

◆ RT_OPEN_APPEND

#define RT_OPEN_APPEND   0x0008

Open file in append mode.

◆ RT_OPEN_CREATE

#define RT_OPEN_CREATE   0x0100

Create file if it does not exist.

◆ RT_OPEN_TRUNCATE

#define RT_OPEN_TRUNCATE   0x0200

Truncate existing file.