home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13674 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1004 b 

  1. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!goanna!ok
  2. From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: sscanf and portability
  5. Summary: TYPO ALERT AND APOLOGY
  6. Message-ID: <14554@goanna.cs.rmit.oz.au>
  7. Date: 15 Sep 92 06:44:45 GMT
  8. References: <RUJO.92Sep14160231@ulrik.uio.no> <14544@goanna.cs.rmit.oz.au>
  9. Organization: Comp Sci, RMIT, Melbourne, Australia
  10. Lines: 11
  11.  
  12. In article <14544@goanna.cs.rmit.oz.au>, ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes:
  13. > The ANSI stndard guarantees that
  14.            ^^^^^^^ should be "standard", sorry
  15. >     [unsigned|signed] char    at least 8 bits
  16. >     [unsigned] short        at least 16 bits
  17. >     [unsigned] long        at least 32 bits
  18. >     sizeof (long) >= sizeof (int) >= sizeof (short) >= sizeof (char) >= 1
  19.                                                                        ^^
  20. That of course must be ==.  I do assure you it was a typo, not a thinko.
  21. -- 
  22. You can lie with statistics ... but not to a statistician.
  23.