/illumos-gate/usr/src/test/libc-tests/tests/stdio/ |
H A D | memstream.c | 695 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 D | open_memstreamtest.c | 135 if (fseek(fp, 100, SEEK_END) != 0) { in main() 151 if (fseek(fp, -1, SEEK_END) != 0) { in main()
|
H A D | orientation_test.c | 149 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 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)
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | unistd.h | 109 #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 D | fcntl.h | 58 #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 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)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lseek.c | 52 #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 D | comm.c | 130 sfseek(in1,(Sfoff_t)0,SEEK_END); in comm() 197 sfseek(sfstdin,(Sfoff_t)0,SEEK_END); in b_comm()
|
H A D | revlib.c | 54 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 D | db-int.h | 273 #ifndef SEEK_END 276 #define SEEK_END 2 macro
|
/illumos-gate/usr/src/cmd/acpi/common/ |
H A D | cmfsize.c | 190 Status = fseek (File, 0, SEEK_END); in CmGetFileSize()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fdopen.c | 79 (void) lseek64(fd, (off64_t)0, SEEK_END); in fdopen()
|
H A D | _endopen.c | 94 if (_xseek64(iop, (off64_t)0, SEEK_END) < (off64_t)0) { in _endopen()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 103 (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 D | history.c | 268 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 D | lseek.c | 104 if (f->f_ralen != 0 && where != SEEK_END) { in lseek()
|
/illumos-gate/usr/src/ucbhead/ |
H A D | unistd.h | 65 #define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ macro
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_impl.h | 59 #ifndef SEEK_END 60 #define SEEK_END 2 macro
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | ids.c | 295 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 D | conv_fix.c | 130 lseek(fd, 0, SEEK_END); in main()
|
/illumos-gate/usr/src/stand/sys/ |
H A D | bootvfs.h | 42 #define SEEK_END 2 /* EOF + Offset */ macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | open.c | 106 else if ((op & O_APPEND) && lseek(fd, 0L, SEEK_END) == -1L)
|