Subversion Repositories Kolibri OS

Rev

Rev 1668 | Rev 3247 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1665 Nasarus 1
 
2
 
3
4
unsigned proc;
5
 
6
7
if (NULL == process)
8
 
9
	printf("  kill \n\r");
10
	return FALSE;
1668 Nasarus 11
	}
1665 Nasarus 12
else
13
	{
14
	proc = _atoi(process);
15
	if ( 0 != proc )
16
		{
17
		result = kol_process_kill_pid(proc);
18
		if (result < 0)
19
			return FALSE;
20
		else
21
			return TRUE;
22
		}
23
	}
24
25
}
26