mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Add EncodeHex() and DecodeHex() to Redbean
This commit is contained in:
parent
00acd81b2f
commit
a186143f62
9 changed files with 97 additions and 13 deletions
7
third_party/lua/lunix.c
vendored
7
third_party/lua/lunix.c
vendored
|
@ -2020,6 +2020,12 @@ static int LuaUnixSchedYield(lua_State *L) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// unix.verynice()
|
||||
static int LuaUnixVerynice(lua_State *L) {
|
||||
verynice();
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// unix.Stat object
|
||||
|
||||
|
@ -3338,6 +3344,7 @@ static const luaL_Reg kLuaUnix[] = {
|
|||
{"unlink", LuaUnixUnlink}, // remove file
|
||||
{"unveil", LuaUnixUnveil}, // filesystem sandboxing
|
||||
{"utimensat", LuaUnixUtimensat}, // change access/modified time
|
||||
{"verynice", LuaUnixVerynice}, // lowest priority
|
||||
{"wait", LuaUnixWait}, // wait for child to change status
|
||||
{"write", LuaUnixWrite}, // write to file or socket
|
||||
{0}, //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue