What are the possible return values of kill() system call?
Answer / Sachin Sahay Gautam
The kill() system call can return several values, depending on whether the process is running and if it could be terminated. If the process does not exist or if it cannot be found, it returns -1. Successful termination of a process returns 0. Other possible return values include EACCES (access denied), EPERM (operation not permitted), ESRCH (no such process), and ETXTBSY (text file busy).
| Is This Answer Correct ? | 0 Yes | 0 No |
The very first process created by the Kernal in UNIX is
Explain the unmount system calls?
c program to implement the unix or linux command to implement ls -l >output.txt
What command is used to execute system calls from exe?
What are the Unix system calls for I/O?
Explain c program to implement the unix or linux command to implement ls -l >output.txt?
what is diff between command and utility in unix
What is the first process created by the kernel in unix?
Describe the mount and unmount system calls?
Need a Code snippet about how sharing is happening between Parent and Child threads in OS?
Name the command which is used to execute system calls from exe?
How to protect a process from others to kill?