Searched refs:pk (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/3d/features/
H A Dpeek.c41 struct strpeek pk; local
47 pk.flags = 0;
48 pk.ctlbuf.maxlen = -1;
49 pk.ctlbuf.len = 0;
50 pk.ctlbuf.buf = 0;
51 pk.databuf.maxlen = sizeof(msg);
52 pk.databuf.buf = msg;
53 pk.databuf.len = 0;
54 if (ioctl(fds[0], I_PEEK, &pk) > 0 && pk
[all...]
/ast/src/lib/libcs/
H A Dcspeek.c45 struct strpeek pk; local
61 pk.flags = 0;
62 pk.ctlbuf.maxlen = -1;
63 pk.ctlbuf.len = 0;
64 pk.ctlbuf.buf = 0;
65 pk.databuf.maxlen = siz;
66 pk.databuf.buf = (char*)buf;
67 pk.databuf.len = 0;
68 if ((n = ioctl(fd, I_PEEK, &pk)) >= 0)
71 if (n > 0) n = pk
[all...]

Completed in 26 milliseconds