filter_wait.3

来自「在 linux平台上的网页编程的模板」· 3 代码 · 共 43 行

3
43
字号
.TH filter_wait 3 "12 July 2007" "ClearSilver" "util/filter.h".de Ss.sp.ft CW.nf...de Se.fi.ft P.sp...SH NAMEfilter_wait  - wrap waitpid to decode the exitcode and whyyour filter quit.SH SYNOPSIS.Ss#include <util/filter.h>.Se.SsNEOERR *filter_wait(pid_t pid, int options, int *exitcode);.Se.SH ARGUMENTSpid -> the process identifier to wait for.broptions -> the options to pass to waitpid (see wait(2)).SH DESCRIPTIONfilter_wait wraps the waitpid call and raises an error(with description) if the call failed.  Note that if theask for the exitcode and the process exited with a codeother than zero, we don't raise an error.  If you don'task for the exitcode, and it is non-zero, we raise anerror.SH "RETURN VALUE"exitcode -> the exitcode if the process existed normally.SH "SEE ALSO".BR filter_wait "(3), "filter_create_fp "(3), "filter_create_fd

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?