Subject: Re: sys_errlist definitioni
To: None <firstname.lastname@example.org>
From: Gordon W. Ross <email@example.com>
Date: 07/03/1996 13:52:44
> Date: Wed, 3 Jul 1996 16:11:32 +0200 (MET DST)
> From: Olaf Seibert <firstname.lastname@example.org>
> Simon Burge <email@example.com>
> > 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.