Searched defs:fdo (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dhist.c46 register int flag,fdo; local
193 if((fdo=open(fname,O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) < 0)
195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
227 sh_close(fdo);
228 fdo = pad_create(fname);
229 pad_wait(fdo);
233 lseek(fdo,(off_t)0,SEEK_SET);
246 fdo = sh_chkopen(fname);
259 hist_subst(error_info.id,fdo,replace);
263 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_REA
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c491 * copy THISPROG into the open file number <fdo> and close <fdo>
494 static int mycopy(int fdi, int fdo) argument
500 if(write(fdo,buffer,n) != n)
503 close(fdo);

Completed in 1498 milliseconds