menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Understand...
source image

Dev

2d

read

138

img
dot

Image Credit: Dev

Understanding the exit status Bits

  • A child process status is described by a 16-bit integer returned by the kernel.
  • The status can indicate normal termination, being killed by a signal, stopped by a signal, or continued after being stopped.
  • For normal termination, bits 0-7 are always zero, while bits 8-15 represent the exit status (0-255).
  • Understanding the different bit layouts for normal termination, being killed by a signal, stopped by a signal, and continued status.

Read Full Article

like

8 Likes

For uninterrupted reading, download the app