Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: Catching ex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 45813 of 47034
Post > Topic >>

Re: Catching exit code before program termination

by Sam <sam@[EMAIL PROTECTED] > May 8, 2008 at 11:44 AM

This is a MIME GnuPG-signed message.  If you see this text, it means that
your E-mail or Usenet software does not sup****t MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in
1996.
To open this message correctly you will need to install E-mail or Usenet
software that sup****ts modern Internet standards.

--=_mimegpg-commodore.email-scan.com-12333-1210265065-0002
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Sam writes:

> titanandrews writes:
> 
>> This is for Windows, but I am looking for a solution for UNIX/Linux.
> 
> TMK, POSIX does not provide a means for an atexit handler to receive the

> exit status parameter that was passed to exit().

Following to myself -- I do see that Linux glibc has the nonstandard 
on_exit(), that can be used to install a handler that receives the pending

exit code, but, as the man page indicates, this is a legacy thing.


--=_mimegpg-commodore.email-scan.com-12333-1210265065-0002
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBIIy3px9p3GYHlUOIRAvbAAJ9CX7x7A2CrtjtcmA28fG0p0oL69wCeNRRz
6lEMq1JzIncf7vWPZL75tsA=
=+ccw
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-12333-1210265065-0002--
 




 10 Posts in Topic:
Catching exit code before program termination
titanandrews <titanand  2008-05-08 09:05:09 
Re: Catching exit code before program termination
Sam <sam@[EMAIL PROTEC  2008-05-08 11:34:36 
Re: Catching exit code before program termination
Sam <sam@[EMAIL PROTEC  2008-05-08 11:44:26 
Re: Catching exit code before program termination
Martin York <Martin.Yo  2008-05-08 11:30:47 
Re: Catching exit code before program termination
titanandrews <titanand  2008-05-08 12:47:53 
Re: Catching exit code before program termination
Rolf Magnus <ramagnus@  2008-05-08 23:28:02 
Re: Catching exit code before program termination
Joe Greer <jgreer@[EMA  2008-05-08 22:15:22 
Re: Catching exit code before program termination
titanandrews <titanand  2008-05-08 17:36:08 
Re: Catching exit code before program termination
Jerry Coffin <jcoffin@  2008-05-10 22:29:34 
Re: Catching exit code before program termination
kasthurirangan.balaji@[EM  2008-05-08 22:08:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:59:54 CDT 2008.