diff options
author | Francois Rouaix <francois.rouaix@gmail.com> | 1995-09-28 17:36:07 +0000 |
---|---|---|
committer | Francois Rouaix <francois.rouaix@gmail.com> | 1995-09-28 17:36:07 +0000 |
commit | 0dca8a76eb89f0e8f5e40026b4d8e27ec8771b90 (patch) | |
tree | 6ce9c2efd6bc385d096a40ad21860788bec9dcec /otherlibs/unix/unix.mli | |
parent | 5de90d7cded5aca521d3afa1a393bebab8ff528f (diff) |
Doc de waitpid
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@303 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/unix.mli')
-rw-r--r-- | otherlibs/unix/unix.mli | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/otherlibs/unix/unix.mli b/otherlibs/unix/unix.mli index 3b48a8d41..b1a866f7a 100644 --- a/otherlibs/unix/unix.mli +++ b/otherlibs/unix/unix.mli @@ -158,8 +158,11 @@ external wait : unit -> int * process_status = "unix_wait" and termination status. *) external waitpid : wait_flag list -> int -> int * process_status = "unix_waitpid" - (* Same as [waitopt], but waits for the process whose pid is given. - Negative pid arguments represent process groups. *) + (* Same as [wait], but waits for the process whose pid is given. + A pid of [0] means wait for any child. + Negative pid arguments represent process groups. + The list of options indicates whether [waitpid] should return + immediately without waiting, or also report stopped children. *) val system : string -> process_status (* Execute the given command, wait until it terminates, and return its termination status. The string is interpreted by the shell |