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

  man pages->IRIX man pages -> wait (3b)              
Title
Content
Arch
Section
 

Contents


WAIT(3B)							      WAIT(3B)


NAME    [Toc]    [Back]

     wait, wait3 - wait	for child processes to stop or terminate

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/wait.h>
     #include <sys/resource.h>

     int wait ();

     int wait3 ();

     To	use either of these routines you must either

     1)	#define	_BSD_COMPAT before including <sys/wait.h>, or

     2)	specify	it in the compile command or makefile:

	  cc -D_BSD_COMPAT -o prog prog.c

DESCRIPTION    [Toc]    [Back]

     These two routines	are fully described in wait(2).	 When BSD
     compatibility mode	is enabled (via	the definition of _BSD_COMPAT) the
     only change is in the prototype declaration of these routines in
     sys/wait.h.  Historically,	many BSD derived programs pass as the status
     pointer, a	pointer	to a union wait, rather	than a pointer to int.	Since
     these programs would not properly compile if prototyping was in effect,
     when BSD compatibility mode is enabled, no	prototypes are declared.

SEE ALSO    [Toc]    [Back]

      
      
     wait(2).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
wait4 Tru64 Wait for a child process to stop or terminate
waitpid HP-UX wait for child process to stop or terminate
wait3 Tru64 Wait for a child process to stop or terminate
wait HP-UX wait for child process to stop or terminate
wait Tru64 Wait for a child process to stop or terminate
waitpid Tru64 Wait for a child process to stop or terminate
powerdown IRIX stop all processes and halt the system
waitid HP-UX wait for child process to change state
waitid Tru64 Wait for child process to change state
waitid IRIX wait for child process to change state
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service