|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1996 (0x7cc)
Types: TextFile
Notes: UNIX file
Names: »wait3.2j«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man2/wait3.2j«
.ig @(#)wait3.2j 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH WAIT3 2J .UC 4 .SH NAME wait3 \- wait for process to terminate .SH SYNOPSIS .nf .B "#include <wait.h>" .B "#include <sys/vtimes.h>" .PP .B wait3(status, options, vtimep) .B union wait status; .B int options; .B struct vtimes *vtimep; .PP .B cc ... \-ljobs .fi .SH DESCRIPTION The .I status and .I option words are described by definitions and macros in the file <wait.h>; the union and its bitfield definitions and associated macros given there provide convenient and mnemonic access to the word of status returned by a .I wait3 call. See this file for more information. .PP There are two .I options, which may be combined by .IR or ing them together. The first is WNOHANG which causes the .I wait3 not to hang if there are no processes which wish to report status. In this case a process identification of zero is returned as a result of the .I wait3 condition. The second option is WUNTRACED, which causes .I wait3 to return information when children of the current process which are stopped but not traced (with .IR ptrace (2)) because they received a SIGTTIN, SIGTTOU, SIGTSTP or SIGSTOP signal. See .IR sigsys (2)) for a description of these signals. .PP The .I vtimep pointer is an optional structure where a .I vtimes structure is returned describing the resources used by the terminated process and all its children. This may be given as \*(lq0\*(rq if the information is not desired. Currently this information is not available for stopped processes. .SH "SEE ALSO" wait(2), exit(2), fork(2), sigsys(2) .SH DIAGNOSTICS Returns \-1 if there are no children not previously waited for, or 0 if the WNOHANG option is given and there are no stopped or exited children. .SH BUGS This call is peculiar to this version of UNIX. The options and specifications of this system call and even the call itself are subject to change. It may be replaced by other facilities in future versions of the system.