fork(1) download
  1. #include <stdio.h>
  2.  
  3. typedef unsigned u_t;
  4.  
  5. int main(void) {
  6.  
  7. struct frc{
  8. u_t frt:3;
  9. u_t sec:1;
  10. u_t frp:1;
  11. u_t ack:1;
  12. u_t pan:1;
  13. u_t re1:3;
  14. u_t des:2;
  15. u_t re2:2;
  16. u_t src:2;
  17. } FRC;
  18.  
  19. printf("%d\n", sizeof(FRC));
  20. return 0;
  21. }
  22.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
4