Update dmesg, loosely based on a patch from Elliott Hughes.

Probe the default buffer size, replace the constants with FLAG_x macros, add -r,
replace the byte at a time output with a single xwrite(), more comments.
1 file changed