Parent Directory | Revision Log | Patch
revision 1.9 by scresto, Sat Feb 12 16:41:07 2005 UTC | revision 1.10 by scresto, Sat Feb 12 18:15:51 2005 UTC | |
---|---|---|
# | Line 321 void exit_prog(gint Apid, GError **Aerro | Line 321 void exit_prog(gint Apid, GError **Aerro |
321 | { | { |
322 | gint Lcmdstatus = 0; | gint Lcmdstatus = 0; |
323 | ||
324 | kill(Apid, SIGINT); | |
325 | waitpid(Apid, &Lcmdstatus, 0); | waitpid(Apid, &Lcmdstatus, 0); |
326 | ||
327 | if ((WIFEXITED(Lcmdstatus) && WEXITSTATUS(Lcmdstatus)!=0) || (!(WIFEXITED(Lcmdstatus)))) { | if ((WIFEXITED(Lcmdstatus) && WEXITSTATUS(Lcmdstatus)!=0) || (!(WIFEXITED(Lcmdstatus)))) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |