Lines Matching refs:pbuf
94 { struct strpeek pbuf;95 pbuf.flags = 0;96 pbuf.ctlbuf.maxlen = -1;97 pbuf.ctlbuf.len = 0;98 pbuf.ctlbuf.buf = NIL(char*);99 pbuf.databuf.maxlen = n;100 pbuf.databuf.buf = buf;101 pbuf.databuf.len = 0;103 if((r = ioctl(fd,I_PEEK,&pbuf)) < 0)110 if(r > 0 && (r = pbuf.databuf.len) <= 0)