Subject: Re: sys_errlist definitioni
To: None <rhialto@polder.ubc.kun.nl>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 07/03/1996 13:52:44
> Date: Wed, 3 Jul 1996 16:11:32 +0200 (MET DST)
> From: Olaf Seibert <rhialto@polder.ubc.kun.nl>

> Simon Burge <simonb@telstra.com.au>
> > 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.

Gordon