diff options
| author | cremno <[email protected]> | 2014-08-03 21:15:48 +0200 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-08-03 21:15:48 +0200 |
| commit | b6e27218ad1ffdba6d2103b85d5d9231b6380008 (patch) | |
| tree | 6b84ad30e85f50fa4eab6c7373306e741d194508 /mrbgems/mruby-string-ext/src/string.c | |
| parent | 206f89e2090524f009fc5a87f42c15a453ebdbee (diff) | |
| download | mruby-b6e27218ad1ffdba6d2103b85d5d9231b6380008.tar.gz mruby-b6e27218ad1ffdba6d2103b85d5d9231b6380008.zip | |
MSVC: add simple (v)snprintf implementation
_snprintf is not C99's snprintf!
This simple implementation, unlike _snprintf,
always null-terminates and returns the expected
return value (in most cases).
Other C99 behaviors (like format specifiers) require
adding a complete snprintf implementation.
Do we want or need that?
The same applies to vsnprintf (aka _vsnprintf).
Diffstat (limited to 'mrbgems/mruby-string-ext/src/string.c')
0 files changed, 0 insertions, 0 deletions
