MwStringPrintIntoBuffer
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
87c870a6c0
commit
35d2b4bb76
21 changed files with 233 additions and 331 deletions
|
|
@ -1,29 +0,0 @@
|
|||
/*!
|
||||
* @file Mw/Error.h
|
||||
* @brief Error codes
|
||||
*/
|
||||
#ifndef __MW_ERROR_H__
|
||||
#define __MW_ERROR_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
|
||||
/*!
|
||||
* @brief Error code enumeration
|
||||
*/
|
||||
typedef enum MwErrorEnum_T {
|
||||
/*!
|
||||
* @brief No error
|
||||
*/
|
||||
MwEsuccess = 0,
|
||||
/*!
|
||||
* @brief There was an error
|
||||
*/
|
||||
MwEerror,
|
||||
} MwErrorEnum;
|
||||
|
||||
/*!
|
||||
* @brief Get the last error
|
||||
*/
|
||||
MWDECL const char* MwGetLastError(void);
|
||||
|
||||
#endif
|
||||
|
|
@ -41,6 +41,13 @@ MWDECL void MwStringSize(char* out, MwOffset size);
|
|||
*/
|
||||
MWDECL void MwStringTime(char* out, time_t t);
|
||||
|
||||
/*!
|
||||
* @brief Prints up to n characters into a buffer
|
||||
* @param out Buffer
|
||||
* @param size Max size
|
||||
*/
|
||||
MWDECL void MwPrintIntoBuffer(char* out, MwU32 size, const char* fmt, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue