mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +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
|
||||
// └─→ nil, unix.Errno
|
||||
static int LuaUnixNanosleep(lua_State *L) {
|
||||
|
|
|
@ -3413,7 +3413,7 @@ UNIX MODULE
|
|||
|
||||
This function goes fastest on Linux and Windows.
|
||||
|
||||
unix.nanosleep(seconds:int, nanos:int)
|
||||
unix.nanosleep(seconds:int[, nanos:int])
|
||||
├─→ remseconds:int, remnanos:int
|
||||
└─→ nil, unix.Errno
|
||||
|
||||
|
|
Loading…
Reference in a new issue