Developer World
Spresense Arduino Library v3.2.0-77d75a4
File Library API

API for file operations. More...

Files

file  File.h
 SPRESENSE Arduino File library.
 

Classes

class  File
 The File class allows for reading from and writing to individual files on the File System. More...
 

Macros

#define FILE_READ   O_RDONLY
 
#define FILE_WRITE   (O_RDONLY | O_WRONLY | O_CREAT)
 

Detailed Description

API for file operations.

Macro Definition Documentation

◆ FILE_READ

#define FILE_READ   O_RDONLY

Open the file for reading, starting at the beginning of the file.

◆ FILE_WRITE

#define FILE_WRITE   (O_RDONLY | O_WRONLY | O_CREAT)

Open the file for reading and writing, starting at the end of the file.