File SolidSyslogNullFile.h¶
FileList > Core > Interface > SolidSyslogNullFile.h
Go to the source code of this file
The no-op File Null object: Open, IsOpen, Read and Exists return false (consumers take their error path), Write and Delete return true (success reported vacuously), SeekTo, Truncate and Close are no-ops, Size returns 0.
#include "ExternC.h"
Public Functions¶
| Type | Name |
|---|---|
| EXTERN_C_BEGIN struct SolidSyslogFile * | SolidSyslogNullFile_Get (void) Open, IsOpen, Read and Exists return false, so consumers see a consistently non-functional file and take their error path. |
Public Functions Documentation¶
function SolidSyslogNullFile_Get¶
Open, IsOpen, Read and Exists return false, so consumers see a consistently non-functional file and take their error path.
Write and Delete return true, reporting success vacuously so callers that treat those as no-ops are not tripped. SeekTo, Truncate and Close are no-ops; Size returns 0.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogNullFile.h