Skip to content

Windows platform

«interface»SolidSyslogFileWindowsFileWindows

File SolidSyslogWindowsFile.h

FileList > Interface > SolidSyslogWindowsFile.h

  • #include "SolidSyslogExternC.h"

Detailed Description

Windows file I/O (MSVC <io.h>: _sopen_s / _read / _write / _lseeki64 / _chsize_s) behind the_ SolidSyslogFile _vtable, for a file-backed BlockDevice or Store.

Files open in binary mode (_O_BINARY) so the CRT's CR/LF translation never corrupts arbitrary bytes - BlockStore frames round-trip unchanged. A write is not flushed to the medium, so durability past a power cut belongs to the volume rather than to this adapter.

Public Functions Documentation

SolidSyslogWindowsFile_Create

Create takes no config; an exhausted pool falls back to the shared NullFile.

struct SolidSyslogFile * SolidSyslogWindowsFile_Create (
    void
) 


SolidSyslogWindowsFile_Destroy

Release the pool slot and close the descriptor.

void SolidSyslogWindowsFile_Destroy (
    struct SolidSyslogFile * base
) 



The documentation for this class was generated from the following file Platform/Windows/Interface/SolidSyslogWindowsFile.h