Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!cbnewsl!dfp From: dfp@cbnewsl.ATT.COM (david.f.prosser) Newsgroups: comp.std.c Subject: Re: size_t Message-ID: <845@cbnewsl.ATT.COM> Date: 19 Jun 89 21:20:32 GMT References: <934@tukki.jyu.fi> Reply-To: dfp@cbnewsl.ATT.COM (david.f.prosser) Organization: AT&T Bell Laboratories Lines: 21 In article <934@tukki.jyu.fi> tarvaine@tukki.jyu.fi (Tapani Tarvainen) writes: >What exactly does pANS say about size_t? In Turbo C 2.0 it is >defined as unsigned int in all memory models, yet in huge model >array indices are long. Is this a bug? >(If not, what is size_t good for, anyway?) >-- >Tapani Tarvainen BitNet: tarvainen@finjyu >Internet: tarvainen@jylk.jyu.fi -- OR -- tarvaine@tukki.jyu.fi Section 4.1.5 of the pANS: The types [defined in ] are ... size_t which is the unsigned integral type of the result of the sizeof operator ... It is also defined in , , and . Dave Prosser ...not an official X3J11 answer...