SEcube open-source SDK
creation parameter for secure_open

Use this values as creation parameter for secure_open().

#define SEFILE_NEWFILE   O_CREAT | O_TRUNC
 
#define SEFILE_OPEN   0
 

Detailed Description

Macro Definition Documentation

◆ SEFILE_NEWFILE

#define SEFILE_NEWFILE   O_CREAT | O_TRUNC

Create new file and delete if existing

◆ SEFILE_OPEN

#define SEFILE_OPEN   0

Open an existing file, create it if not existing