LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
fs_stream_state_t Struct Reference

Private runtime state for the fs_stream backend. More...

#include <fs_stream_state.h>

Collaboration diagram for fs_stream_state_t:

Data Fields

osal_file_tf
 
bool autoclose
 

Detailed Description

This structure stores the OSAL file handle and close policy used by the backend during the lifetime of the stream instance.

Definition at line 29 of file fs_stream_state.h.

Field Documentation

◆ autoclose

bool fs_stream_state_t::autoclose

Whether the OSAL file must be closed when the backend is closed.

Definition at line 34 of file fs_stream_state.h.

◆ f

osal_file_t* fs_stream_state_t::f

OSAL file handle backing the stream. May be NULL once closed.

Definition at line 31 of file fs_stream_state.h.