clog_footer
struct clog_footer *pcf;
pcf = (struct clog_footer*)(pbuffer + sb.st_size - sizeof(struct clog_footer));
struct clog_footer cf;
cf.cf_max = size - sizeof(struct clog_footer);
if (lseek(fd,-(off_t)(sizeof(struct clog_footer)),SEEK_END)==-1) {