On Tue, 14 Feb 2006 15:53:39 -0500, John Denker said: > It is straightforward but laborious to simulate exception-throwing > in C: > extern int errno; > /* try some stuff */ > if (errno) return; /* return immediately on any error */
Except that this does not work. ERRNO gets set by most calls only on error so if everything went fine in the "try ssome stuff" you get random results. Shalom-Salam, Werner --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to [EMAIL PROTECTED]
