home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / c / 16167 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!dog.ee.lbl.gov!horse.ee.lbl.gov!torek
  2. From: torek@horse.ee.lbl.gov (Chris Torek)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: meanings of "void" keyword
  5. Date: 8 Nov 1992 11:05:03 GMT
  6. Organization: Lawrence Berkeley Laboratory, Berkeley
  7. Lines: 22
  8. Message-ID: <27297@dog.ee.lbl.gov>
  9. References: <2214@sdrc.COM> <Bx8Cw8.5tB@portal.hq.videocart.com> <27264@dog.ee.lbl.gov> <721104887@sheol.UUCP>
  10. Reply-To: torek@horse.ee.lbl.gov (Chris Torek)
  11. NNTP-Posting-Host: 128.3.112.15
  12.  
  13. In article <27264@dog.ee.lbl.gov> I claimed that
  14. >> `void' has two meanings in ANSI C ...
  15.  
  16. Oops!
  17.  
  18. In article <721104887@sheol.UUCP> throopw@sheol.UUCP (Wayne Throop) writes:
  19. >Um.  I thought void had three meanings in ANSI C.  The above two, and 
  20. >
  21. >         - A void prototype (eg:   void f(void);      ) ...
  22.  
  23. Believe it or not, I actually wrote `three meanings', but then I could
  24. only think of two when I went to enumerate them, so I went back and
  25. `fixed' the claim.  I had the feeling I was forgetting something....
  26.  
  27. >In fact, these three uses are essentially independent.
  28.  
  29. Yes; this is obnoxious and misleading, just like the peculiar use of
  30. `static' to affect function name scopes.  But it is not that big a
  31. deal.
  32. -- 
  33. In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 510 486 5427)
  34. Berkeley, CA        Domain:    torek@ee.lbl.gov
  35.