LUA_PUSHFSTRING(3) | Library Functions Manual | LUA_PUSHFSTRING(3) |
lua_pushfstring
—
pushes onto the stack a formatted string and returns a
pointer to this string, function indicator [-0, +1, m]
#include
<lua.h>
const char *
lua_pushfstring
(lua_State
*L, const char
*fmt, ...);
lua_pushfstring
()
pushes onto the stack a formatted string and returns a pointer to this
string. It is similar to the C function sprintf(3), but
has some important differences:
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The lua_pushfstring
() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
July 20, 2022 | Debian |