Developer World
Spresense Arduino Library v1.4.0-534dfd9
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 | O_APPEND)
 

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 | O_APPEND)

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