Rechercher une page de manuel
filter_wait
Langue: en
Version: 373090 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
filter_wait - wrap waitpid to decode the exitcode and why your filter quitSYNOPSIS
#include <util/filter.h>
NEOERR *filter_wait(pid_t pid, int options, int *exitcode);
ARGUMENTS
pid -> the process identifier to wait foroptions -> 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 errorRETURN VALUE
exitcode -> the exitcode if the process existed normallySEE ALSO
filter_wait(3), filter_create_fp(3), filter_create_fdContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre