mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-04-21 22:34:51 +00:00
Fix redbean unix.nanosleep() documentation
This commit is contained in:
parent
c937fbb222
commit
bc3d84341d
2 changed files with 2 additions and 2 deletions
2
third_party/lua/lunix.c
vendored
2
third_party/lua/lunix.c
vendored
|
@ -950,7 +950,7 @@ static int LuaUnixGettime(lua_State *L) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// unix.nanosleep(seconds:int, nanos:int)
|
// unix.nanosleep(seconds:int[, nanos:int])
|
||||||
// ├─→ remseconds:int, remnanos:int
|
// ├─→ remseconds:int, remnanos:int
|
||||||
// └─→ nil, unix.Errno
|
// └─→ nil, unix.Errno
|
||||||
static int LuaUnixNanosleep(lua_State *L) {
|
static int LuaUnixNanosleep(lua_State *L) {
|
||||||
|
|
|
@ -3413,7 +3413,7 @@ UNIX MODULE
|
||||||
|
|
||||||
This function goes fastest on Linux and Windows.
|
This function goes fastest on Linux and Windows.
|
||||||
|
|
||||||
unix.nanosleep(seconds:int, nanos:int)
|
unix.nanosleep(seconds:int[, nanos:int])
|
||||||
├─→ remseconds:int, remnanos:int
|
├─→ remseconds:int, remnanos:int
|
||||||
└─→ nil, unix.Errno
|
└─→ nil, unix.Errno
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue