🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1223

<limits.h> and MB_LEN_MAX

#1223
From: Glenn Kasten
Date: Thu, 27 Aug 1992 16:50
21 lines
1113 bytes
I apologize in advance if this a FAQ, but I'm new to the group and
haven't seen this question asked yet nor seen the FAQ location.

<limits.h> is supposed to define MB_LEN_MAX.  Is it permissible for a
conforming implementation to define MB_LEN_MAX in terms of another
type, where that other type is not declared in <limits.h>?  In other
words, do header files have to be complete in themselves, or can they
require other header files to also be included, in order to be
usable?

A colleague and I are disagreeing over this and so I wanted to request
an outside opinion.

Thanks,
Glenn
-- 
-- 
Glenn Kasten
Ready Systems 470 Potrero Ave. Sunnyvale CA 94086 
glenn@ready.com (408) 522-7357 
Technical Details
Message-ID: <1992Aug27.165044.4781@ready.eng.ready.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!gate.ready.com!gate.ready.com!glenn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!gate.ready.com!gate.ready.com!glenn
From: glenn@ready.com (Glenn Kasten)
Newsgroups: comp.std.c
Subject: <limits.h> and MB_LEN_MAX
Message-ID: <1992Aug27.165044.4781@ready.eng.ready.com>
Date: 27 Aug 92 16:50:44 GMT
Sender: glenn@ready.eng.ready.com (Glenn Kasten)
Reply-To: glenn@ready.com (Glenn Kasten)
Organization: Ready Systems
Lines: 21