From: Paul Jakma (paulj at domain alphyra.ie)
Date: Thu 02 Aug 2001 - 15:34:59 IST
On Thu, 2 Aug 2001, kevin lyda wrote:
> global vars aren't the best. functions that return "success" or "why
> failed" are nicer, imho.
> you can return more complex things via pass by reference params.
> another idea is an error stack, libxml uses it, but that can suffer the
> same issues as the errno one.
hmm.. good idea...
what are the bones of implementing it?
> well, under ansi c i think that's frowned on.
good - piss easy to define an app-specific global err var.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:27 GMT