Andrew Haley wrote:
Dimitry Golubovsky writes:
>
> If one wants to automatically determine offset of a regular field in a
> C structure, one uses `offsetof'
>
> According to the documentation,
>
> ==
> This macro (offsetof) won't work if member is a bit field; you get an
> erro
Hi,
When one does a
typedef uint8_t array[10];
what does really happen ?
For example, i was looking at some code in the public domain, which had
it like this ..
u8 is again typedef'd from a unsigned char
#define TS_PACKET_SIZE 188
#define TS_IN_UDP 7
typedef u8 file_ts_packet[TS_PACKET_S