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

Function addintlen

app/redis-6.2.6/deps/lua/src/lstrlib.c:747–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745
746
747static void addintlen (char *form) {
748 size_t l = strlen(form);
749 char spec = form[l - 1];
750 strcpy(form + l - 1, LUA_INTFRMLEN);
751 form[l + sizeof(LUA_INTFRMLEN) - 2] = spec;
752 form[l + sizeof(LUA_INTFRMLEN) - 1] = '\0';
753}
754
755
756static int str_format (lua_State *L) {

Callers 1

str_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected