/titanic_41/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 | 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 | 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 | sfsk.c | 61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END) 70 else if(type == SEEK_CUR)
|
H A D | sftell.c | 55 p = sfseek(f,(Sfoff_t)0,SEEK_CUR);
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | tell.c | 55 return (lseek64(f, 0, SEEK_CUR)); in tell64() 63 return (lseek(f, 0, SEEK_CUR)); in tell()
|
H A D | telldir.c | 63 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) { in telldir() 87 if (lseek64(dirp->dd_fd, 0, SEEK_CUR) != 0) { in telldir64()
|
H A D | seekdir.c | 60 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) { in seekdir() 93 if (lseek64(dirp->dd_fd, 0, SEEK_CUR) != 0) { in seekdir64()
|
/titanic_41/usr/src/lib/libast/common/stdio/ |
H A D | ftell.c | 35 return (long)sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftell() 45 return (int64_t)sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftell64()
|
H A D | ftello.c | 35 return sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftello() 45 return sfseek(f, (Sfoff_t)0, SEEK_CUR) >= 0 ? 0 : -1; in ftello64()
|
H A D | fgetpos.c | 35 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1; in fgetpos() 45 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1; in fgetpos64()
|
H A D | fflush.c | 39 sfseek(f, (Sfoff_t)0, SEEK_CUR|SF_PUBLIC); in fflush()
|
/titanic_41/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)
|
H A D | sfdcdos.c | 104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset); 242 if(whence==SEEK_CUR) 292 case SEEK_CUR: 293 offset = sfsk(iop, (Sfoff_t)0,SEEK_CUR,disc); 331 if(whence==SEEK_CUR && dp->phere>=offset)
|
H A D | sfdcseekable.c | 73 addr = sfseek(sf,(Sfoff_t)0,SEEK_CUR); 124 case SEEK_CUR: 204 if(sfseek(f,(Sfoff_t)0,SEEK_CUR) >= 0)
|
/titanic_41/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
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | lseek.c | 53 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro 101 case SEEK_CUR: in lseek32_common() 290 case SEEK_CUR: in lseek64()
|
/titanic_41/usr/src/lib/libast/common/dir/ |
H A D | telldir.c | 40 return(lseek(dirp->dd_fd, 0L, SEEK_CUR) + (long)dirp->dd_loc);
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | setup.c | 155 (void) lseek(fd, (off_t) (header.name_size - 127), SEEK_CUR); 165 SEEK_CUR 184 SEEK_CUR 210 SEEK_CUR
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 200 (void) lseek(fd, (off_t) (header.name_size - 127), SEEK_CUR); in __m_read_terminfo() 209 SEEK_CUR); in __m_read_terminfo() 226 (header.num_count - __COUNT_NUM)), SEEK_CUR); in __m_read_terminfo() 250 (header.str_count - __COUNT_STR)), SEEK_CUR); in __m_read_terminfo()
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | ppprintf.c | 41 pp.outp += sfseek(sp, 0L, SEEK_CUR); in ppprintf()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1062 #define SEEK_CUR 1 macro 1259 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_internal_read_entry() 1273 if (fseek(KTFILEP(id), -size, SEEK_CUR)) { in krb5_ktfileint_internal_read_entry() 1481 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_write_entry() 1669 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_find_slot() 1690 if (fseek(KTFILEP(id), size, SEEK_CUR)) { in krb5_ktfileint_find_slot() 1702 if (fseek(KTFILEP(id), size, SEEK_CUR)) { in krb5_ktfileint_find_slot() 1709 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_find_slot() 1727 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_find_slot() 1739 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_find_slot()
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | join.c | 680 …if (sfseek(jp->file[0].iop, (Sfoff_t)-jp->file[0].reclen, SEEK_CUR) < 0 || !(cp1 = getrec(jp, 0, 0… in join() 690 if ((lo = sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR)) < 0) in join() 760 if ((hi = sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR)) < 0 || in join() 788 sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR) < hi && in join() 948 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join() 965 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0) in b_join()
|
/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | ftell.c | 77 tres = lseek64(FILENO(iop), 0, SEEK_CUR); in ftell()
|
H A D | ftello.c | 82 tres = lseek64(FILENO(iop), 0, SEEK_CUR); in ftello64()
|