commit d2bc66f232b36ca95c4a83b4d9287ac8b0a4e043 from: Sergey Bronnikov date: Wed Jul 27 06:59:11 2022 UTC man3: luaL_prepbuffer.3 commit - 04cdbbe0c09d8058b495106a609cf32a5de5de79 commit + d2bc66f232b36ca95c4a83b4d9287ac8b0a4e043 blob - /dev/null blob + 83f7c37ef8f65e83586617810df5b173b67e394e (mode 644) --- /dev/null +++ man3/luaL_prepbuffer.3 @@ -0,0 +1,25 @@ +.Dd $Mdocdate: July 26 2022 $ +.Dt LUAL_PREPBUFFER 3 +.Os +.Sh NAME +.Nm luaL_prepbuffer +.Nd prepares a buffer luaL_Buffer +.Sh SYNOPSIS +.In lauxlib.h +.Ft char * +.Fn luaL_prepbuffer "luaL_Buffer *B" +.Sh DESCRIPTION +.Fn luaL_prepbuffer +returns an address to a space of size +.Dv LUAL_BUFFERSIZE +where you can copy a +string to be added to buffer +.Fa B +.Pq see Xr luaL_Buffer 3 . +After copying the string into this space you must call +.Xr luaL_addsize 3 +with the size of the string to actually add it to the buffer. +.Sh HISTORY +The +.Fn luaL_prepbuffer +manual page was written by Sergey Bronnikov.