Shell 0.4.52. "killall" added & bugfixes

git-svn-id: svn://kolibrios.org@1673 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Nasarus
2010-10-24 14:32:14 +00:00
parent 503a9f7a93
commit 9bd77b61cd
15 changed files with 48 additions and 16 deletions
+5
View File
@@ -411,6 +411,11 @@ int kol_process_kill_pid(unsigned process)
asm ("int $0x40"::"a"(18), "b"(18), "c"(process));
}
int kol_kill_process(unsigned process)
{
asm ("int $0x40"::"a"(18), "b"(2), "c"(process));
}
void kol_get_kernel_ver(char buff16b[])
{
asm ("int $0x40"::"a"(18), "b"(13), "c"(buff16b));
+2 -1
View File
@@ -88,4 +88,5 @@ unsigned kol_time_tick();
unsigned kol_sound_speaker(char data[]);
unsigned kol_process_info(unsigned slot, char buf1k[]);
int kol_process_kill_pid(unsigned process);
void kol_get_kernel_ver(char buff16b[]);
void kol_get_kernel_ver(char buff16b[]);
int kol_kill_process(unsigned process);