Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

PAL Services Enumerated Data Types

PAL Services Enumerated Data Types
[PAL_GROUP_FS]

Enumerations

enum  pal_fsOffset_t { , PAL_FS_OFFSET_SEEKSET, PAL_FS_OFFSET_SEEKCUR, PAL_FS_OFFSET_SEEKEND }
 

Enum for `fseek()` relative options.

More...
enum  pal_fsFileMode_t { , PAL_FS_FLAG_READONLY, PAL_FS_FLAG_READWRITE, PAL_FS_FLAG_READWRITEEXCLUSIVE, PAL_FS_FLAG_READWRITETRUNC }
 

Enum for fopen() permission options.

More...

Enumeration Type Documentation

Enum for fopen() permission options.

Enumerator:
PAL_FS_FLAG_READONLY 

Open file for reading. The stream is positioned at the beginning of the file (file must exist), same as "r".
.

PAL_FS_FLAG_READWRITE 

Open for reading and writing. The stream is positioned at the beginning of the file (file must exist), same as "r+ ".
.

PAL_FS_FLAG_READWRITEEXCLUSIVE 

Open for reading and writing exclusively. If the file already exists, `fopen()` fails. The stream is positioned at the beginning of the file. same as "w+x"
.

PAL_FS_FLAG_READWRITETRUNC 

Open for reading and writing exclusively. If the file already exists, truncate file. The stream is positioned at the beginning of the file. same as "w+"
.

Definition at line 139 of file pal_fileSystem.h.

Enum for `fseek()` relative options.

Enumerator:
PAL_FS_OFFSET_SEEKSET 

Relative to the start of the file.

PAL_FS_OFFSET_SEEKCUR 

The current position indicator.

PAL_FS_OFFSET_SEEKEND 

End-of-file.

Definition at line 129 of file pal_fileSystem.h.