abgabe
This commit is contained in:
@@ -12,9 +12,13 @@ void Application::action() { // NOLINT
|
||||
text[4] = 0x30+id;
|
||||
|
||||
for (unsigned i = 1;; ++i) {
|
||||
write(0, text, sizeof(text));
|
||||
if(i==id)
|
||||
write(1, text, sizeof(text));
|
||||
if(i==id){
|
||||
write(2, "kill", 4);
|
||||
write(2, &text[4], 1);
|
||||
write(2, " ", 1);
|
||||
sys_exit();
|
||||
}
|
||||
sleep(1000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user