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 Nov 30, 2018
1 parent 7275d16 commit aa53212
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 aa53212

Please sign in to comment.