*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> wait (1)              
Title
Content
Arch
Section
 

Contents


 wait(1)                                                             wait(1)




 NAME    [Toc]    [Back]
      wait - await process completion

 SYNOPSIS    [Toc]    [Back]
      wait [pid]

 DESCRIPTION    [Toc]    [Back]
      If no argument is specified, wait waits until all processes (started
      with &) of the current shell have completed, and reports on abnormal
      terminations.  If a numeric argument pid is given and is the process
      ID of a background process, wait waits until that process has
      completed.  Otherwise, if pid is not a background process, wait exits
      without waiting for any processes to complete.

      Because the wait() system call must be executed in the parent process,
      the shell itself executes wait without creating a new process (see
      wait(2)).

    Command-Line Arguments    [Toc]    [Back]
      wait supports the following command line arguments:

           pid         The unsigned decimal integer process ID of a command,
                       whose termination wait is to wait for.

 WARNINGS    [Toc]    [Back]
      Some processes in a 2-or-more-stage pipeline may not be children of
      the shell, and thus cannot be waited for.

 SEE ALSO    [Toc]    [Back]
      csh(1), ksh(1), sh-posix(1), sh(1), wait(2).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      wait: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
wait IRIX await completion of process
wait Tru64 Awaits process completion
aio_waitcomplete FreeBSD wait for the next completion of an aio request
glfinishasyncsgix IRIX wait for completion of an asynchronous command
glpollasyncsgix IRIX poll for completion of an asynchronous command
Term::Complete IRIX Perl word completion module
csh FreeBSD C shell with file name completion and command line editing
tcsh IRIX shell with file name completion and command line editing
VkCompletionField IRIX A text input field that supports automatic name completion
tcsh FreeBSD C shell with file name completion and command line editing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service