Searched refs:fdo (Results 1 - 3 of 3) sorted by relevance
/ast/src/cmd/ksh93/bltins/ |
H A D | hist.c | 46 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); 231 sh_close(fdo); 232 fdo = pad_create(fname); 233 pad_wait(fdo); 237 lseek(fdo,(off_t)0,SEEK_SET); 250 fdo = sh_chkopen(fname); 263 hist_subst(error_info.id,fdo,replace); 267 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_REA [all...] |
/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 491 * 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);
|
/ast/src/cmd/ie/ |
H A D | history.c | 312 int fdo; local 314 fdo= io_renumber(hist_ptr->fixfd,fcntl(hist_ptr->fixfd,F_DUPFD,USERIO)); 315 hist_ptr->fixfd = fdo; 322 hist_ptr->fixfd = io_renumber(fdo,FCIO); 335 new = io_seek(fdo,hist_position(++n),SEEK_SET); 337 while((c=io_getc(fdo))!=EOF && c) 352 io_fclose(fdo);
|
Completed in 10 milliseconds