Root/
Source at commit 1077 created 13 years 1 month ago. By azimutz, Removing this info from DEBUG's realm. This will be enabled by default until i gather enough feedback to decide whether it will stay On or Off by default. This info display, is only available on Gui; ShowInfo=No disables it. For the Gui minimalist, "Boot Banner"=No also disables it. Ok, "house cleaning" is suspended until i figure out what Meklort's cooking over at that new branch... "rewrite" :-o just the name sounds scary :-D | |
---|---|
1 | /*␊ |
2 | * snprintf.c␊ |
3 | */␊ |
4 | ␊ |
5 | #include "libsaio.h"␊ |
6 | extern int vsnprintf(char *buffer, size_t n, const char *format, va_list ap);␊ |
7 | ␊ |
8 | int snprintf(char *buffer, size_t n, const char *format, ...)␊ |
9 | {␊ |
10 | ␉va_list ap;␊ |
11 | ␉int rv;␊ |
12 | ␊ |
13 | ␉va_start(ap, format);␊ |
14 | ␉rv = vsnprintf(buffer, n, format, ap);␊ |
15 | ␉va_end(ap);␊ |
16 | ␉return rv;␊ |
17 | }␊ |
18 |