On Thu, Jan 06, 2005 at 05:11:36AM +0900, Berger, Daniel wrote:
> Actually, I couldn't figure out how to do that.  Or is errno an external
> int that I can just set without having to declare?

errno is a modifiable lvalue and is declared in errno.h.  It may be an
integer, e.g.:

  extern unsigned int errno;

or it may be a macro, e.g.:

  unsigned int * get_errno();
  #define errno *get_errno()

Paul