MCPcopy Create free account
hub / github.com/IoLanguage/io / snprintf

Function snprintf

libs/basekit/source/PortableSnprintf.c:781–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779
780#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
781int snprintf(char *str, size_t count, const char *fmt, ...) {
782 size_t ret;
783 va_list ap;
784
785 va_start(ap, fmt);
786 ret = vsnprintf(str, count, fmt, ap);
787 va_end(ap);
788 return ret;
789}
790#endif
791
792#endif

Callers 10

UArray_fromVargs_Function · 0.85
mainFunction · 0.85
IoSystem.cFile · 0.85
IoDate.cFile · 0.85
IoToken_quoteName_Function · 0.85
IoNumber.cFile · 0.85
IoEvalFrame.cFile · 0.85

Calls 1

vsnprintfFunction · 0.85

Tested by

no test coverage detected