debian man page for filter_wait

Query: filter_wait

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 description) 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 error. 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)
Related Man Pages
nfabort(3) - bsd
filter_create_fd(3) - debian
waitpid(3c) - x11r4
pcntl_waitpid(3) - php
io::async::pid(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Detecting unused variables...
Weird 'find' results
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections