Subject: Re: sys_errlist definitioni
To: None <email@example.com>
From: Gordon W. Ross <firstname.lastname@example.org>
Date: 07/03/1996 13:52:44
> Date: Wed, 3 Jul 1996 16:11:32 +0200 (MET DST)
> From: Olaf Seibert <email@example.com>
> Simon Burge <firstname.lastname@example.org>
> > Or is it taboo to just "#include <errno.h>" in stdio.h? I think I'm
> > more comfortable with that than duplicating definitions in differenct
> > files....
> I am afraid that the ISO C standard forbids such things. When #including
> some (standard) header file, only the things that the Standard says are
> in it are allowed to be in it.
Right. However, if you really want to avoid replicating the
declaration, you can put in in some third header file that is
included by both stdio.h and errno.h - probably overkill.