Skip to content

Commit

Permalink
Compat annotation for #30013 (getpid).
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Dec 4, 2018
1 parent e00d8bd commit 221273c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/process.jl
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,9 @@ kill(p::Process) = kill(p, SIGTERM)
getpid(process) -> Int32
Get the child process ID, if it still exists.
!!! compat "Julia 1.1"
This function requires at least Julia 1.1.
"""
function Libc.getpid(p::Process)
ppid = Int32(0)
Expand Down

0 comments on commit 221273c

Please sign in to comment.