Fix redbean unix.nanosleep() documentation

This commit is contained in:
Justine Tunney 2022-09-18 03:02:13 -07:00
parent c937fbb222
commit bc3d84341d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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