kolibrios/programs/system/shell/cmd/cmd_killall.c

15 lines
182 B
C
Raw Normal View History

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;
}