Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
36b03d47
Commit
36b03d47
authored
Aug 13, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain the possible range of values for the pid parameter to
waitpid().
parent
bd11b048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
Doc/lib/libos.tex
Doc/lib/libos.tex
+14
-6
No files found.
Doc/lib/libos.tex
View file @
36b03d47
...
@@ -745,12 +745,20 @@ Availability: \UNIX{}.
...
@@ -745,12 +745,20 @@ Availability: \UNIX{}.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
waitpid
}{
pid, options
}
\begin{funcdesc}
{
waitpid
}{
pid, options
}
Wait for completion of a child process given by process id, and return
Wait for completion of a child process given by process id
\var
{
pid
}
,
a tuple containing its process id and exit status indication (encoded
and return a tuple containing its process id and exit status
as for
\function
{
wait()
}
). The semantics of the call are affected by
indication (encoded as for
\function
{
wait()
}
). The semantics of the
the value of the integer
\var
{
options
}
, which should be
\code
{
0
}
for
call are affected by the value of the integer
\var
{
options
}
, which
normal operation.
should be
\code
{
0
}
for normal operation.
Availability:
\UNIX
{}
.
Availability:
\UNIX
{}
.
If
\var
{
pid
}
is greater than
\code
{
0
}
,
\function
{
waitpid()
}
requests
status information for that specific process. If
\var
{
pid
}
is
\code
{
0
}
, the request is for the status of any child in the process
group of the current process. If
\var
{
pid
}
is
\code
{
-1
}
, the request
pertains to any child of the current process. If
\var
{
pid
}
is less
than
\code
{
-1
}
, status is requested for any process in the process
group
\code
{
-
\var
{
pid
}}
(the absolute value of
\var
{
pid
}
).
\end{funcdesc}
\end{funcdesc}
\begin{datadesc}
{
WNOHANG
}
\begin{datadesc}
{
WNOHANG
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment