char buf[BUF_LEN]_attribute_((aligned(4))); ssize_t len, i = 0; /* read BUF_LEN bytes\' worth of events */ len = read (fd, buf, BUF_LEN); /* loop over every read event u
char buf[BUF_LEN]_attribute_((aligned(4)));
It specifies a minimum alignment for the variable buf, measured in bytes. It causes the compiler to allocate the variable buf on a 4-byte boundary.
buf
This should be a good read.