MKI_FileWriteTextData (File I/O)

www.CAD6.com

C++ Syntax

bool

MKI_FileWriteTextData(

 const LPCSTR f_pszData );

 

Writes a null-terminated string (not including the termination character) to the current write cache.

 

Parameters

Data

[const LPCSTR] Address of a buffer containing the null-terminated string to be written to the file.

 

Return Value

Returns true if the data has been written successfully, else false (indicating disk full). Additionally, the return value of MKI_FileWriteError will be set to true if an error occurred.

 

Comment

This procedure relies on a high-performance write cache previously established by either MKI_FileWriteInitMull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory. As a result, it will fail if this cache is currently not activated!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH