document MwStringPrintIntoBuffer slightly better
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoI_xD 2026-03-30 11:19:10 -07:00
commit 32842ca160
11 changed files with 18 additions and 17 deletions

View file

@ -42,11 +42,12 @@ MWDECL void MwStringSize(char* out, MwOffset size);
MWDECL void MwStringTime(char* out, time_t t);
/*!
* @brief Prints up to n characters into a buffer
* @brief Prints up to n characters into a bufferMwStringPrintIntoBuffer.
* @note On compilers that support C99, this uses vsnprintf to safely print into a buffer; on compilers that don't, vsprintf is used.
* @param out Buffer
* @param size Max size
*/
MWDECL void MwPrintIntoBuffer(char* out, MwU32 size, const char* fmt, ...);
MWDECL void MwStringPrintIntoBuffer(char* out, MwU32 size, const char* fmt, ...);
#ifdef __cplusplus
}