Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: What means: exit_value , signal_num and dumped_core

by Bloodnok (Vicar)
on Apr 11, 2014 at 13:02 UTC ( #1081959=note: print w/replies, xml ) Need Help??


in reply to Re^2: What means: exit_value , signal_num and dumped_core
in thread What means: exit_value , signal_num and dumped_core

It's because the exit code, signal number and core dump flag are all rolled up into a word i.e. a single 16 bit, value - the bitwise operators are used to extract the various bits of the word.

Note, also, that just because a process exits with a non-zero signal, it doesn't necessarily mean that a core dump will have been generated as the process exited.

A user level that continues to overstate my experience :-))
  • Comment on Re^3: What means: exit_value , signal_num and dumped_core

Replies are listed 'Best First'.
Re^4: What means: exit_value , signal_num and dumped_core
by Yaerox (Scribe) on Apr 11, 2014 at 13:06 UTC

    Ahh, okay, now I got it ^^

    Thank you very much Sir.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081959]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-05-17 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?