Added mem_realloc and string functions
This commit is contained in:
parent
56c522d05a
commit
12c9b4fdcc
10 changed files with 278 additions and 15 deletions
|
@ -66,3 +66,10 @@ void debug(const char *fmt, ...)
|
|||
#endif
|
||||
}
|
||||
|
||||
void snprintf(char *buf, size_t size, const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
npf_vsnprintf(buf, size, fmt, args);
|
||||
va_end(args);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue