PHYEYE_BUFSIZE
if ((buf = malloc(PHYEYE_BUFSIZE)) == NULL) {
size_t to_read = MIN(act_len - off, PHYEYE_BUFSIZE);