Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2012  |  syntax: None  |  size: 0.13 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to get name of the bit field referenced by BIT_FIELD_REF?
  2. struct {
  3.     int a;
  4.     unsigned b:1;
  5. } s;
  6.  
  7. ...
  8. if (s.b)
  9.     ...