Article View: comp.std.c
Article #278Re: size_t
From: Doug Gwyn
Date: Wed, 28 Jun 1989 04:52
Date: Wed, 28 Jun 1989 04:52
11 lines
959 bytes
959 bytes
In article <GEOFF.89Jun21011005@onyx.cs.warwick.ac.uk> geoff@cs.warwick.ac.uk (Geoff Rimmer) writes: >Does this mean that size_t should be a #define rather than a typedef? No, size_t must be a genuine type name. >If it were a typedef, and I #include <stdio.h> AND <stdlib.h> (which >is a perfectly reasonable thing to do!), I would get errors. It is the implementor's job to make sure that there is no such problem. I think it makes an interesting exercise to figure out how this can be implemented.
Technical Details
Message-ID:
<10467@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!uflorida!haven!adm!smoke!gwynReferences:
<934@tukki.jyu.fi> <845@cbnewsl.ATT.COM> <GEOFF.89Jun21011005@onyx.cs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: size_t Message-ID: <10467@smoke.BRL.MIL> Date: 28 Jun 89 04:52:36 GMT References: <934@tukki.jyu.fi> <845@cbnewsl.ATT.COM> <GEOFF.89Jun21011005@onyx.cs.warwick.ac.uk> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11