MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lcompat_sprintf

Function lcompat_sprintf

freebsd/contrib/openzfs/module/lua/lcompat.c:8–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8ssize_t
9lcompat_sprintf(char *buf, size_t size, const char *fmt, ...)
10{
11 ssize_t res;
12 va_list args;
13
14 va_start(args, fmt);
15 res = vsnprintf(buf, size, fmt, args);
16 va_end(args);
17
18 return (res);
19}
20
21int64_t
22lcompat_strtoll(const char *str, char **ptr)

Callers 1

luaO_pushvfstringFunction · 0.85

Calls 1

vsnprintfFunction · 0.85

Tested by

no test coverage detected