Searched refs:readfd (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmdisconnect.c66 if (md->readfd >= 0)
67 (void) Close(md->readfd);
131 if (md->readfd != -1)
132 (void) Close (md->readfd);
H A Dmlisten.c79 PollFdList[0].fd = md->readfd;
125 fdp->fd = md->readfd;
233 if (mdp->readfd == -1)
295 if (ioctl(mdp->readfd, I_RECVFD, &recbuf) != 0)
328 md->readfd = md->writefd = recbuf.fd;
347 get_peer_label(md->readfd, &md->slabel);
352 ResetFifoBuffer (md->readfd);
402 if (mdp->readfd >= 0) {
403 Close (mdp->readfd);
404 if (mdp->writefd == mdp->readfd)
[all...]
H A Dmdestroy.c54 pfd.fd = md->readfd;
57 if (ioctl(md->readfd, I_RECVFD, &recbuf) == 0)
H A Dmconnect.c129 md->readfd = fd;
135 ResetFifoBuffer (md->readfd);
153 md->readfd = id1;
159 ResetFifoBuffer (md->readfd);
H A Dmcreate.c70 md->readfd = fds[0];
H A Dstreamio.c85 rtncode = getmsg (mdp->readfd, ctlp, datap, flagsp);
113 switch (read_fifo(md->readfd, msgbuf, size))
H A Dmgetputm.c180 return(peek3_2(md->readfd) - EXCESS_3_2_LEN);
182 if (ioctl(md->readfd, I_NREAD, &size))
H A Dmread.c105 (void) Close(md->readfd);
H A Dllib-llpmsg53 int readfd; /* STREAM fd to read from */
/illumos-gate/usr/src/cmd/truss/
H A Dramdata.c87 fileset_t readfd; /* read() file descriptors to dump */ variable
H A Dramdata.h171 extern fileset_t readfd; /* read() file descriptors to dump */
H A Dactions.c458 if (prismember(&readfd, fdp1))
856 prismember(&readfd, fdp1)) ||
881 pri->Errno == 0 && prismember(&readfd, fdp1)) ||
H A Dmain.c314 premptyset(&readfd); /* default: dump no buffers */
405 if (fdlist(optarg, &readfd))
689 if (!isemptyset(&readfd)) {
H A Dexpound.c1959 if (pri->Errno == 0 && prismember(&readfd, fdp1))
3580 prismember(&readfd, i)) ||
3617 prismember(&readfd, i)) ||
5378 prismember(&readfd, i)) ||
H A Dprint.c615 elsewhere = prismember(&readfd, fdp1);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpsched.h213 Close ((MD)->readfd); \
214 if ((MD)->writefd == (MD)->readfd) \
216 (MD)->readfd = -1; \
H A Dmsgs.c123 if (md->readfd == -1) { /* something happened to the readfd */
124 syslog(LOG_DEBUG, "take_message: readfd is -1");
H A Ddisp1.c1164 if (ioctl(md->readfd, I_RECVFD, &recv_fd) == 0) {
/illumos-gate/usr/src/cmd/lp/include/
H A Dmsgs.h316 int readfd; /* STREAM fd to read from */ member in struct:__anon805
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c1186 fd_set readfd; local
1557 FD_ZERO(&readfd);
1558 FD_SET(0, &readfd);
1559 select(1, &readfd, NULL, NULL, &selecttimeout);
1562 if (FD_ISSET(0, &readfd)) {

Completed in 159 milliseconds