A struct timeval is 64 bit long. I need, for a project, to convert this long (struct timeval) into two 32 bit chunks, and put each chunk into a different variable. ...
Hi All.. I have a question regarding the use of bit fields in C. If one declares a struct as bit-field, how do you set all the bits, w/o having to set each one individually. For example, below is my struct: struct bitwise_byte { unsigned b0: 1; unsigned b1: 1; unsigned b2: 1; unsigned b3: 1; unsigned b4: 1; unsigned b5: ...