kolibrios/programs/system/shell/cmd/cmd_killall.c
Nasarus 9bd77b61cd Shell 0.4.52. "killall" added & bugfixes
git-svn-id: svn://kolibrios.org@1673 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-24 14:32:14 +00:00

15 lines
182 B
C

int cmd_killall(char process_name[])
{
unsigned i;
if (!strlen(process_name))
{
for (i = 2;i<256;i++)
{
kol_kill_process(i);
}
return TRUE;
}
return TRUE;
}