Kernel message type: _PROC_COREDUMP, subtype _PROC_COREDUMP_CONT_TERM
Resume process termination
Arguments:
- type
- _PROC_COREDUMP
- subtype
- _PROC_COREDUMP_CONT_TERM
- pid
- The PID of the process to terminate.
- status
- The status of core file creation. A value of
0indicates failure and any other integer indicates success.
Description:
This message causes the process to be terminated and removed from the system, and frees its resources. The sending process must be registered as the dumper to send the message.
For more information, refer to proc_coredump_t in sys/procmsg.h.
Returns:
EOK on success. If an error occurs, the kernel fails the operation with MsgError() using one of the errors from the Errors section.
Errors:
- EBADMSG
- The message is too short.
- EFAULT
- Error accessing the output buffer.
- EINVAL
- The process identified by pid isn't core dumping.
- EPERM
- The sending process isn't registered as the dumper.
- ESRCH
- The process identified by pid doesn't exist.
Page updated:
