Skip to content

File SolidSyslogWindowsFile.h

FileList > Interface > SolidSyslogWindowsFile.h

Go to the source code of this file

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.More...

  • #include "ExternC.h"

Public Functions

Type Name
struct SolidSyslogFile * SolidSyslogWindowsFile_Create (void)
Create takes no config; an exhausted pool falls back to the shared NullFile.
void SolidSyslogWindowsFile_Destroy (struct SolidSyslogFile * base)
Release the pool slot and close the descriptor.

Detailed Description

Files open in binary mode (_O_BINARY) so the CRT's CR/LF translation never corrupts arbitrary bytes — BlockStore frames round-trip unchanged.

Public Functions Documentation

function SolidSyslogWindowsFile_Create

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

struct SolidSyslogFile * SolidSyslogWindowsFile_Create (
    void
) 


function 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