Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions base/libc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ elseif Sys.iswindows()
else
error("systemsleep undefined for this OS")
end
"""
systemsleep(s::Real)

Suspends execution for `s` seconds.
"""
systemsleep

struct TimeVal
sec::Int64
Expand Down
1 change: 1 addition & 0 deletions doc/src/base/libc.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Base.Libc.strftime
Base.Libc.strptime
Base.Libc.TmStruct
Base.Libc.flush_cstdio
Base.Libc.systemsleep
```