Klatt Uwe schrieb:
> Hello,
>
> I use system("tar ...") inside of my program to compress data and the
> returncode of system() ist 256.
> tar does something (destination file is created, but with length "0").
>
> Bye
> Uwe
>
how did you check the exit status like this ?
while (something) {
int ret = system("foo");
if (WIFSIGNALED(ret) &&
(WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))
break;
}
re,
wh
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox