Searched refs:membuf (Results 1 – 1 of 1) sorted by relevance
51 unsigned char *membuf; in IF_DESKTOP() local58 membuf = xmalloc(2 * BUFSIZ); in IF_DESKTOP()59 iobuf.in = membuf; in IF_DESKTOP()60 iobuf.out = membuf + BUFSIZ; in IF_DESKTOP()65 strcpy((char*)membuf, HEADER_MAGIC); in IF_DESKTOP()75 int rd = safe_read(xstate->src_fd, membuf, BUFSIZ); in IF_DESKTOP()98 if (membuf[iobuf.in_pos] != 0) { in IF_DESKTOP()111 if (membuf[iobuf.in_pos] != 0xfd) { in IF_DESKTOP()151 free(membuf); in IF_DESKTOP()