Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
filter_wait(3)			 util/filter.h			filter_wait(3)

NAME
       filter_wait   - wrap waitpid to decode the exitcode and why your	filter
       quit

SYNOPSIS
       #include	<util/filter.h>

       NEOERR *filter_wait(pid_t pid, int options, int *exitcode);

ARGUMENTS
       pid -> the process identifier to	wait for
       options -> the options to pass to waitpid (see wait(2))

DESCRIPTION
       filter_wait wraps the waitpid call and raises an	error  (with  descrip-
       tion)  if  the  call failed.  Note that if the ask for the exitcode and
       the process exited with a code other than zero, we don't	raise  an  er-
       ror.   If  you don't ask	for the	exitcode, and it is non-zero, we raise
       an error

RETURN VALUE
       exitcode	-> the exitcode	if the process existed normally

SEE ALSO
       filter_wait(3), filter_create_fp(3), filter_create_fd

ClearSilver			 12 July 2007			filter_wait(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=filter_wait&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help