fork(1) download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. typedef enum: uint8_t
  5. {
  6. R_DIRECTION_LEFT = 1,
  7. R_DIRECTION_RIGHT = 2,
  8. R_DIRECTION_TOP = 4,
  9. R_DIRECTION_BOTTOM = 8
  10. } R_Direction;
  11.  
  12. int main ( )
  13. {
  14. printf("Size: %zu\n", sizeof(R_Direction));
  15. return 0;
  16. }
Success #stdin #stdout 0s 5548KB
stdin
Standard input is empty
stdout
Size: 1