home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16692 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  25 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!msb
  3. From: msb@sq.sq.com (Mark Brader)
  4. Subject: Re: Idle Questions about ANSI C
  5. Message-ID: <1992Nov17.205652.19542@sq.sq.com>
  6. Organization: SoftQuad Inc., Toronto, Canada
  7. References: <BxqBp1.5M6@netnews.jhuapl.edu> <1992Nov17.123803.6400@thunder.mcrcim.mcgill.edu> <1992Nov17.155826.15087@sq.sq.com>
  8. Date: Tue, 17 Nov 92 20:56:52 GMT
  9. Lines: 14
  10.  
  11. I wrote:
  12. > A side remark ... [On] this ... pre-ANSI implementation ... size_t
  13. > is *int*.  And in fact sizeof appears to return int also; at least,
  14. > "sizeof(char) < -1" is false, whereas in ANSI C it's true.
  15.  
  16. Whoops.  I should of course have said that in ANSI C that last statement
  17. *would* be true if size_t was at least as big as unsigned int.  Thanks to
  18. Jutta Degener for pointing this out in email.
  19. -- 
  20. Mark Brader, SoftQuad Inc., Toronto, utzoo!sq!msb, msb@sq.com
  21.     "I'm a little worried about the bug-eater," she said.  "We're embedded
  22.     in bugs, have you noticed?"        -- Niven, "The Integral Trees"
  23.  
  24. This article is in the public domain.
  25.