git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Kernel - Fixed freeze (I think)
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Interfaces
/
UDI
/
strmem.c
1
/**
2
* \file strmem.c
3
* \author John Hodge (thePowersGang)
4
*/
5
#include <acess.h>
6
#include <udi.h>
7
8
// === EXPORTS ===
9
EXPORT(udi_snprintf);
10
11
// === CODE ===
12
udi_size_t udi_snprintf(char *s, udi_size_t max_bytes, const char *format, ...)
13
{
14
udi_size_t ret;
15
va_list args;
16
va_start(args, format);
17
18
ret = vsnprintf(s, max_bytes, format, args);
19
20
va_end(args);
21
return ret;
22
}
UCC
git Repository :: git.ucc.asn.au