Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
FsStatic::FileInfo Struct Reference

We have one of these for each open file descriptor. More...

#include <ArduinoFs.hxx>

Public Member Functions

bool in_use ()
 
void open ()
 Marks the file descriptor to be in use.
 
void close ()
 Marks the file descriptor to be not in use.
 

Public Attributes

off_t offset = UNUSED_FILE
 POSIX file offset.
 

Detailed Description

We have one of these for each open file descriptor.

Definition at line 66 of file ArduinoFs.hxx.

Member Function Documentation

◆ close()

void FsStatic::FileInfo::close ( )
inline

Marks the file descriptor to be not in use.

Definition at line 84 of file ArduinoFs.hxx.

◆ in_use()

bool FsStatic::FileInfo::in_use ( )
inline
Returns
true if this file descriptor is in use.

Definition at line 72 of file ArduinoFs.hxx.

◆ open()

void FsStatic::FileInfo::open ( )
inline

Marks the file descriptor to be in use.

Definition at line 78 of file ArduinoFs.hxx.

Member Data Documentation

◆ offset

off_t FsStatic::FileInfo::offset = UNUSED_FILE

POSIX file offset.

Definition at line 69 of file ArduinoFs.hxx.


The documentation for this struct was generated from the following file: