Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
pangea_detail::FileCloser Struct Reference

Public Member Functions

void operator() (FILE *file) const
 Release an owned, non-null file stream.

Detailed Description

RAII closer keeps regular-file descriptors bounded on exception paths.

Definition at line 490 of file pangea.cpp.

Member Function Documentation

◆ operator()()

void pangea_detail::FileCloser::operator() ( FILE * file) const
inline

Release an owned, non-null file stream.

Parameters
fileStream transferred to the deleter.
Note
Callers that need to detect flush/close failures must close explicitly.

Definition at line 494 of file pangea.cpp.


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