/illumos-gate/usr/src/lib/libast/common/dir/ |
H A D | telldir.c | 40 return(lseek(dirp->dd_fd, 0L, SEEK_CUR) + (long)dirp->dd_loc);
|
/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | ftell.c | 35 return (long)sfseek(f, (Sfoff_t)0, SEEK_CUR); 45 return (int64_t)sfseek(f, (Sfoff_t)0, SEEK_CUR);
|
H A D | ftello.c | 35 return sfseek(f, (Sfoff_t)0, SEEK_CUR); 45 return sfseek(f, (Sfoff_t)0, SEEK_CUR) >= 0 ? 0 : -1;
|
H A D | fgetpos.c | 35 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1; 45 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
|
H A D | fflush.c | 39 sfseek(f, (Sfoff_t)0, SEEK_CUR|SF_PUBLIC);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tell.c | 55 return (lseek64(f, 0, SEEK_CUR)); 63 return (lseek(f, 0, SEEK_CUR));
|
H A D | seekdir.c | 60 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) { 93 if (lseek64(dirp->dd_fd, 0, SEEK_CUR) != 0) {
|
H A D | telldir.c | 63 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) { 87 if (lseek64(dirp->dd_fd, 0, SEEK_CUR) != 0) {
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | lseek.c | 87 case SEEK_CUR: 107 if ((filepos = (f->f_ops->fo_seek)(f, (off_t)0, SEEK_CUR)) == -1) 114 case SEEK_CUR: 133 if (where == SEEK_CUR)
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppprintf.c | 41 pp.outp += sfseek(sp, 0L, SEEK_CUR);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfseek.c | 93 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) != SEEK_SET && 94 type != SEEK_CUR && type != SEEK_END ) 101 (void)SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc); 118 if(type == SEEK_CUR) 165 { r = p + (type == SEEK_CUR ? f->here : 0); 176 r = p + (type == SEEK_CUR ? s : 0); 178 { if((hardseek || (type == SEEK_CUR && p == 0)) ) 179 { if((s = SFSK(f, (Sfoff_t)0, SEEK_CUR, f->disc)) == f->here || 201 if((p += type == SEEK_CUR ? s : 0) < 0)
|
H A D | sfsize.c | 64 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc); 72 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc); 78 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
|
H A D | sftell.c | 55 p = sfseek(f,(Sfoff_t)0,SEEK_CUR);
|
H A D | sfmove.c | 66 (void)SFSEEK(fr,(Sfoff_t)(-r),SEEK_CUR); 68 (void)SFSEEK(fw,(Sfoff_t)(-w),SEEK_CUR); 97 else if((cur = SFSEEK(fr, (Sfoff_t)0, SEEK_CUR)) >= 0 ) 98 { sk = n > 0 ? SFSEEK(fr, n, SEEK_CUR) : SFSEEK(fr, 0, SEEK_END); 196 (void)SFSK(fr,(Sfoff_t)(-w),SEEK_CUR,fr->disc); 213 (void)SFSEEK(fr,(Sfoff_t)(-r),SEEK_CUR);
|
H A D | sfsk.c | 61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END) 70 else if(type == SEEK_CUR)
|
/illumos-gate/usr/src/head/ |
H A D | fcntl.h | 54 #ifndef SEEK_CUR 55 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | unistd.h | 108 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro 119 #define L_INCR SEEK_CUR
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 95 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | ftell.c | 77 tres = lseek64(FILENO(iop), 0, SEEK_CUR);
|
H A D | ftello.c | 82 tres = lseek64(FILENO(iop), 0, SEEK_CUR);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/ |
H A D | largest_file.c | 95 llseek_ret = llseek(fd, offset, SEEK_CUR);
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcsubstr.c | 65 parent = sfsk(f,(Sfoff_t)0,SEEK_CUR,disc); 131 case SEEK_CUR: 138 { parent = sfsk(f,(Sfoff_t)0,SEEK_CUR,disc); 186 if((here = sfseek(parent,(Sfoff_t)0,SEEK_CUR)) < 0 || sfseek(parent,offset,SEEK_SET) < 0)
|
/illumos-gate/usr/src/ucbhead/ |
H A D | unistd.h | 64 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | revlib.c | 42 if(sfseek(in,(off_t)0,SEEK_CUR) < 0)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_memio.c | 69 case SEEK_CUR:
|