- or download this
# bitfield format: xxxMMMxx
my @msgs = ( 'a' .. 'i' );
my $msg = $msgs[ ( $bitfield >> 2 ) && 7 ];
- or download this
bit15 bit0
| |
...
C = Core dumped?
S = Signal that caused program to exit
E = Process's exit code.
- or download this
$core_dumped = ($? >> 15) & 1;
$signal = ($? >> 8) & 127;
$exit_code = $? & 255