Home
last modified time | relevance | path

Searched refs:outfd (Results 1 – 25 of 25) sorted by relevance

/plan9/sys/src/libventi/
H A Dhangup.c17 shutdown(SHUT_WR, z->outfd); in vthangup()
21 if(z->outfd >= 0 && z->outfd != z->infd) in vthangup()
22 close(z->outfd); in vthangup()
24 z->outfd = -1; in vthangup()
H A Dversion.c75 if(write(z->outfd, buf, p-buf) != p-buf) in vtversion()
111 if(z->outfd >= 0 && z->outfd != z->infd) in vtversion()
112 close(z->outfd); in vtversion()
114 z->outfd = -1; in vtversion()
H A Dconn.c9 vtconn(int infd, int outfd) in vtconn() argument
18 z->outfd = outfd; in vtconn()
H A Dcache.acid472 'D' 56 outfd;
502 print(" outfd ", addr.outfd, "\n");
H A Drpc.acid524 'D' 56 outfd;
555 print(" outfd ", addr.outfd, "\n");
H A Dsend.c39 if(write(z->outfd, ioc.addr, ioc.len) < ioc.len){ in _vtsend()
H A Dpacket.acid524 'D' 56 outfd;
555 print(" outfd ", addr.outfd, "\n");
/plan9/sys/src/cmd/vt/
H A Devent.c9 extern int outfd;
19 close(outfd); in edie()
60 outfd = start_host(); in ebegin()
61 if( estart(Ehost, outfd, BUFSIZ) != Ehost) { in ebegin()
H A Dmain.c97 int outfd = -1; variable
412 write(outfd,"\n",1); in waitchar()
424 write(outfd, &c2, 1); in waitchar()
770 if(write(outfd,p,n) < 0) { in sendnchars2()
771 close(outfd); in sendnchars2()
/plan9/sys/src/lib9p/
H A Dpost.c18 s->infd = s->outfd = fd[1]; in _postmountsrv()
48 if(s->infd != s->outfd) in _postmountsrv()
49 close(s->outfd); in _postmountsrv()
H A Dlisten.c55 s->infd = s->outfd = data; in listenproc()
H A Dsrv.c789 fprint(2, "-%d-> %F\n", srv->outfd, &r->ofcall); in respond()
800 m = write(srv->outfd, srv->wbuf, n); in respond()
802 sysfatal("lib9p srv: write %d returned %d on fd %d: %r", n, m, srv->outfd); in respond()
/plan9/sys/src/cmd/con/
H A Dcon.c9 int outfd = 1; /* local output file descriptor */ variable
525 if(n > 0 && iwrite(outfd, buf, n) != n){ in fromnet()
526 if(outfd == 1) in fromnet()
528 outfd = 1; in fromnet()
585 outfd = pfd[1]; in system()
613 outfd = 1; in system()
/plan9/sys/src/cmd/vac/
H A Dvac.c57 int outfd; in threadmain() local
148 if((outfd = open(archivefile, ORDWR)) < 0){ in threadmain()
151 if((outfd = create(archivefile, OWRITE, 0666)) < 0) in threadmain()
193 outfd = 1; in threadmain()
194 else if((outfd = create(vacfile, OWRITE, 0666)) < 0) in threadmain()
273 fprint(outfd, "vac:%V\n", fs->score); in threadmain()
/plan9/sys/src/cmd/ssh1/
H A Dssh1.c22 static int outfd = 1; /* changed during system */ variable
301 fd = outfd; in fromnet()
450 outfd = pfd[1]; in system()
477 outfd = 1; in system()
/plan9/sys/src/cmd/htmlfmt/
H A Ddat.h20 int outfd; member
H A Dhtml.c30 u->outfd = 1; in loadhtml()
289 write(u->outfd, (char*)t->b, t->n); in rerender()
/plan9/sys/src/cmd/lp/
H A Dlpdaemon.c155 readfile(int outfd, int bsize) in readfile() argument
171 } else if((write(outfd, jobbuf, rv)) != rv) { in readfile()
183 return(outfd); in readfile()
H A Dlpsend.c139 pass(int inpfd, int outfd, int bsize) in pass() argument
148 } else if((write(outfd, jobbuf, rv)) != rv) { in pass()
/plan9/sys/src/cmd/
H A Didiff.c106 rundiff(char *arg1, char *arg2, int outfd) in rundiff() argument
128 dup(outfd, 1); in rundiff()
/plan9/sys/include/
H A Dventi.h319 int outfd; member
336 VtConn* vtconn(int infd, int outfd);
H A D9p.h197 int outfd; member
/plan9/sys/src/cmd/aux/
H A Dapm.c1114 fs.outfd = 1; in threadmain()
/plan9/sys/man/
H A Dsearchindex103 …ffset oldfid oldreq opened operations opportunity option optionally ought outfd outgoing outlined …
380 … libc.h library libventi message necessary negotiated network nil omit op outfd packet pointers pr…
/plan9/sys/lib/man/lookman/
H A Dindex41964 outfd /sys/man/2/9p
41965 outfd /sys/man/2/venti-conn