I am searching for a faster method of accomplishing this:
int is_empty(char * buf, int size) { int i; for(i = 0; i < size; i++) { if(buf[
Look at fast memcpy - it can be adapted for memcmp (or memcmp against a constant value).