cap_script_wait
if (cap_script_wait(capscript, &status) != 0)
extern int cap_script_wait(struct cap_channel *, int *);