Date: Tue, 18 May 1999 08:43:52 -0400 Message-Id: <199905181243.IAA10937@envy.delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: (message from Hans-Bernhard Broeker on Tue, 18 May 1999 13:07:24 +0200 (MET DST)) Subject: Re: wctype.h and ctype.h References: Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > If memory serves, DJ originally put much work in achieving this goal, > so I'd be rather surprised if we would have drifted that far away. The goal was twofold: 1. Each header should work with and without including other headers (i.e. no syntax errors) 2. Conform to ANSI/POSIX rules Thus, stdio.h has code to pull in the typedefs normally found in stdarg.h even if you don't include stdarg.h yourself (vfprintf needs them) and sys/stat.h defines the types it would have gotten from sys/types.h. In general, headers should do the absolute minimum required to make them work in *any* permutation of inclusion, but otherwise follow published standards.