In: Computer Science
How is the kill() system call different from all other system calls?
System call:
The system call provides the service to the user and it is a way by which the computer program requests service from the kernel. The kernel manages the key component of the operating system like device management, file management, CPU scheduling, memory management, etc.
The fork() system call is used to create a new process(child process) that will be executed concurrently with the parent process.
The CreateProcess() system call is used to create a new process in Windows operating system. This system call loads the program from the hard disk into the memory and a new process created.
The kill() system call is a request to the operating system to kill the process.
The main difference between the kill() system call and the other call is that the kill() system call urges the operating system to kill the process and this system call doesn't mean that the process will be terminated definitely.
The zombie process can't be deleted by using the kill command.