/ast/src/cmd/tests/sfio/ |
H A D | terrno.c | 37 sfseek(fr, (Sfoff_t)0, SEEK_END); 60 if(sfseek(fw, (Sfoff_t)0, SEEK_SET|SEEK_CUR|SEEK_END) >= 0) 79 if(sfseek(fw, (Sfoff_t)0, SEEK_END) >= 0)
|
H A D | tsfstr.c | 43 if(!(s = sfstrseek(fp, 0, SEEK_END)) )
|
/ast/src/cmd/pax/ |
H A D | pax-gzip.c | 36 if ((pos = lseek(ap->io->fd, (off_t)0, SEEK_CUR)) < 0 || lseek(ap->io->fd, (off_t)-4, SEEK_END) <= 0 || read(ap->io->fd, num, sizeof(num)) != sizeof(num))
|
H A D | pax-xz.c | 36 if ((pos = lseek(ap->io->fd, (off_t)0, SEEK_CUR)) < 0 || lseek(ap->io->fd, (off_t)-sizeof(foot), SEEK_END) <= 0 || read(ap->io->fd, foot, sizeof(foot)) != sizeof(foot) || foot[4] != 0x59 || foot[5] != 0x5A)
|
H A D | pax-ar.c | 79 pos = lseek(ap->io->fd, (off_t)0, SEEK_END);
|
H A D | pax-vdb.c | 69 if (lseek(ap->io->fd, (off_t)(-(VDB_LENGTH + 1)), SEEK_END) <= 0) 170 ap->io->count = lseek(ap->io->fd, (off_t)0, SEEK_END);
|
/ast/src/lib/libast/sfio/ |
H A D | sfseek.c | 93 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) != SEEK_SET && 94 type != SEEK_CUR && type != SEEK_END ) 120 else if(type == SEEK_END) 146 if(!hardseek && type < SEEK_END && !(f->flags&SF_APPENDWR) ) 161 if(type == SEEK_END || (f->mode&SF_WRITE) ) 162 { if((hardseek&SF_PUBLIC) || type == SEEK_END)
|
H A D | sfsk.c | 61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END)
|
H A D | sfsize.c | 61 if((e = SFSK(f,0,SEEK_END,disc)) >= 0)
|
H A D | sfmove.c | 98 { sk = n > 0 ? SFSEEK(fr, n, SEEK_CUR) : SFSEEK(fr, 0, SEEK_END);
|
H A D | sfwr.c | 182 { f->here = SFSK(f,(Sfoff_t)0,SEEK_END,dc);
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixPort.h | 137 #ifndef SEEK_END 138 # define SEEK_END 2 macro
|
/ast/src/lib/libast/comp/ |
H A D | open.c | 106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)
|
/ast/src/lib/libcmd/ |
H A D | comm.c | 130 sfseek(in1,(Sfoff_t)0,SEEK_END); 197 sfseek(sfstdin,(Sfoff_t)0,SEEK_END);
|
H A D | revlib.c | 54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start)
|
/ast/src/cmd/mailx/ |
H A D | edit.c | 112 fseek(state.msg.op, (off_t)0, SEEK_END); 221 if (fseek(ep, (off_t)-2, SEEK_END) < 0)
|
/ast/src/lib/libast/disc/ |
H A D | sfdcdos.c | 309 case SEEK_END: 311 return(sfsk(iop,offset,SEEK_END,disc)); 340 if(whence==SEEK_END && offset<0) 349 if(whence==SEEK_END)
|
H A D | sfdcsubstr.c | 134 case SEEK_END: 139 if((here = sfsk(f,(Sfoff_t)0,SEEK_END,disc)) < 0)
|
H A D | sfdcseekable.c | 127 case SEEK_END:
|
/ast/src/lib/libast/aso/ |
H A D | aso-fcntl.c | 130 if ((size = lseek(fd, 0, SEEK_END)) <= sizeof(references))
|
/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 268 hsize=lseek(fd,(off_t)0,SEEK_END); 631 off_t last = sfseek(hp->histfp,(off_t)0,SEEK_END); 810 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) 849 lseek(acctfd, (off_t)0, SEEK_END); 1086 sfseek(hp->histfp,(off_t)0,SEEK_END); 1205 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt)
|
/ast/src/cmd/ksh93/sh/ |
H A D | parse.c | 785 t->funct.functloc = sfseek(lexp->sh->heredocs,(Sfoff_t)0, SEEK_END); 2070 off1 = sfseek(lexp->kiafile,(off_t)0,SEEK_END); 2073 off2 = sfseek(lexp->kiafile,(off_t)0,SEEK_END);
|
/ast/src/cmd/paxlib/zip/ |
H A D | zip.c | 145 if (paxseek(pax, ap, -(off_t)ZIP_END_HEADER, SEEK_END, 1) > 0 && 297 paxseek(pax, ap, (off_t)0, SEEK_END, 1);
|
/ast/src/lib/libast/astsa/ |
H A D | sfstr.c | 179 : (m) == SEEK_END ? \
|
/ast/src/cmd/ie/ |
H A D | io.h | 193 # define SEEK_END 2 /* EOF offset */ macro
|