Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c695 ret2 = memstream_check_seek(f, len, SEEK_END); in fmemopen_defseek_r()
714 ret2 = memstream_check_seek(f, len, SEEK_END); in fmemopen_defseek_rp()
740 ret2 = memstream_check_seek(f, 0, SEEK_END); in fmemopen_defseek_w()
767 ret2 = memstream_check_seek(f, 0, SEEK_END); in fmemopen_defseek_wp()
794 ret2 = memstream_check_seek(f, len, SEEK_END); in fmemopen_defseek_a()
821 ret2 = memstream_check_seek(f, len, SEEK_END); in fmemopen_defseek_ap()
849 ret2 = memstream_check_seek(f, 8, SEEK_END); in fmemopen_defseek_a_nbyte()
877 ret2 = memstream_check_seek(f, 12, SEEK_END); in fmemopen_defseek_ap_nbyte()
897 ret2 = memstream_check_seek(f, 0, SEEK_END); in fmemopen_defseek_ap_null()
925 ret3 = memstream_check_seek(f, len, SEEK_END); in fmemopen_read_eof_fgetc()
[all …]
H A Dopen_memstreamtest.c135 if (fseek(fp, 100, SEEK_END) != 0) { in main()
151 if (fseek(fp, -1, SEEK_END) != 0) { in main()
H A Dorientation_test.c149 TEST_UNCHANGED(fseek(f, 1, SEEK_END)); in main()
152 TEST_UNCHANGED(fseeko(f, 1, SEEK_END)); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfseek.c93 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 Dsfsk.c61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END)
/illumos-gate/usr/src/boot/sys/sys/
H A Dunistd.h109 #define SEEK_END 2 /* set file offset to EOF plus offset */ macro
120 #define L_XTND SEEK_END
/illumos-gate/usr/src/head/
H A Dfcntl.h58 #ifndef SEEK_END
59 #define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcdos.c309 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 Dsfdcsubstr.c134 case SEEK_END:
139 if((here = sfsk(f,(Sfoff_t)0,SEEK_END,disc)) < 0)
/illumos-gate/usr/src/uts/common/syscall/
H A Dlseek.c52 #define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ macro
111 case SEEK_END: in lseek32_common()
292 case SEEK_END: in lseek64()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcomm.c130 sfseek(in1,(Sfoff_t)0,SEEK_END); in comm()
197 sfseek(sfstdin,(Sfoff_t)0,SEEK_END); in b_comm()
H A Drevlib.c54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start) in rev_line()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h273 #ifndef SEEK_END
276 #define SEEK_END 2 macro
/illumos-gate/usr/src/cmd/acpi/common/
H A Dcmfsize.c190 Status = fseek (File, 0, SEEK_END); in CmGetFileSize()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfdopen.c79 (void) lseek64(fd, (off64_t)0, SEEK_END); in fdopen()
H A D_endopen.c94 if (_xseek64(iop, (off64_t)0, SEEK_END) < (off64_t)0) { in _endopen()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c103 (void) (*fp->f_seek)((void *)fp, (off_t)0, SEEK_END);
449 (void) (*fp->f_seek)(fp, (off_t)0, SEEK_END);
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c268 hsize=lseek(fd,(off_t)0,SEEK_END); in sh_histinit()
631 off_t last = sfseek(hp->histfp,(off_t)0,SEEK_END); in hist_eof()
810 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) in hist_write()
849 lseek(acctfd, (off_t)0, SEEK_END); in hist_write()
1086 sfseek(hp->histfp,(off_t)0,SEEK_END); in hist_copy()
1205 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt) in hist_exceptf()
/illumos-gate/usr/src/boot/libsa/
H A Dlseek.c104 if (f->f_ralen != 0 && where != SEEK_END) { in lseek()
/illumos-gate/usr/src/ucbhead/
H A Dunistd.h65 #define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ macro
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.h59 #ifndef SEEK_END
60 #define SEEK_END 2 macro
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c295 fseek (fp, 0, SEEK_END); in pci_ids_load()
512 fseek (fp, 0, SEEK_END); in usb_ids_load()
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c130 lseek(fd, 0, SEEK_END); in main()
/illumos-gate/usr/src/stand/sys/
H A Dbootvfs.h42 #define SEEK_END 2 /* EOF + Offset */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dopen.c106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)

123456