MCPcopy Create free account
hub / github.com/git/git / test_vsnprintf

Function test_vsnprintf

gettext.c:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69#ifndef NO_GETTEXT
70__attribute__((format (printf, 1, 2)))
71static int test_vsnprintf(const char *fmt, ...)
72{
73 char buf[26];
74 int ret;
75 va_list ap;
76 va_start(ap, fmt);
77 ret = vsnprintf(buf, sizeof(buf), fmt, ap);
78 va_end(ap);
79 return ret;
80}
81
82static void init_gettext_charset(const char *domain)
83{

Callers 1

init_gettext_charsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected