home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.18 / text0019.txt < prev    next >
Encoding:
Internet Message Format  |  1990-03-18  |  743 b 

  1. From: martin@mwtech.uucp (Martin Weitzel)
  2.  
  3. [ Please send all further articles on this subject to comp.lang.c.  -mod ]
  4.  
  5. In article <7544@cs.utexas.edu> Dan Bernstein <stealth.acf.nyu.edu!brnstnd@longway.tic.com> writes:
  6. [some lines deleted]
  7. >handle machines with more than 256 characters. There's no compile-time
  8. >way to find the right bit pattern---UCHAR_MAX + 1 may not be a power of
  9. >two.
  10.  
  11. Look at my recent posting about a portable 'offsetof()'-Makro.
  12. The general principle outlined there, is almost allways usable
  13. in any situation, where you have a way to solve a problem at
  14. run time, but you need the answer at compile time.
  15.  
  16. -- 
  17. Martin Weitzel, email: martin@mwtech.UUCP, voice: 49-(0)6151-6 56 83
  18.  
  19.  
  20. Volume-Number: Volume 18, Number 21
  21.  
  22.