Searched defs:whence (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A Dpr_lseek.c43 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) argument
54 return (lseek(filedes, offset, whence));
89 adp++; /* whence argument */
90 adp->arg_value = whence;
118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, int whence) argument
129 return (llseek(filedes, offset, whence));
164 adp++; /* whence argument */
165 adp->arg_value = whence;
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dwhence.c23 * whence [-afvp] name...
45 static int whence(Shell_t *,char**, int);
89 return(whence(shp,argv, flags));
93 * for the whence command
130 return(whence(shp, argv, flags));
133 static int whence(Shell_t *shp,char **argv, register int flags) function
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dunix_io.c170 * @whence:
177 int whence)
179 return lseek(DEV_FD(dev), offset, whence);
176 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset, int whence) argument
H A Dgnome-vfs-method.c650 GnomeVFSSeekPosition whence, GnomeVFSFileOffset offset,
665 switch (whence) {
648 libntfs_gnomevfs_seek(GnomeVFSMethod *method, GnomeVFSMethodHandle *method_handle, GnomeVFSSeekPosition whence, GnomeVFSFileOffset offset, GnomeVFSContext *context __attribute__((unused))) argument
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c141 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument
147 lock.l_whence = whence;
/osnet-11/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c83 static struct map *getmapping(Dosdisc_t *dp, Sfoff_t offset, register int whence) argument
85 static struct map *getmapping(dp, offset, whence)
88 register int whence;
104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset);
226 * if <whence> is SEEK_CUR, physical offset converted to logical offset
230 static Sfoff_t cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) argument
232 static Sfoff_t cur_offset(dp, offset, iop, whence)
236 register int whence;
242 if(whence==SEEK_CUR)
244 whence
276 dos_seek(Sfio_t *iop, Sfoff_t offset, register int whence, Sfdisc_t* disc) argument
[all...]
/osnet-11/usr/src/lib/libc/port/aio/
H A Daio.c314 aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence, argument
317 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOREAD));
321 aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence, argument
324 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOWRITE));
329 aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, argument
332 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOAREAD64));
336 aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, argument
339 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOAWRITE64));
344 _aiorw(int fd, caddr_t buf, int bufsz, offset_t offset, int whence, argument
355 switch (whence) {
[all...]
/osnet-11/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c88 static int lock_register(int fd, int cmd, int type, off_t offset, int whence,
3331 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument
3337 lock.l_whence = whence;
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dio.c2498 off_t sh_seek(register int fd, off_t offset, int whence) argument
2505 return(sfseek(sp,offset,whence));
2507 return(lseek(fd,offset,whence));
H A Dname.c3318 * whence uses the same values as lseeek()
3320 Shscope_t *sh_getscope(int index, int whence) argument
3324 if(whence==SEEK_CUR)
3333 if(whence==SEEK_SET)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c321 static off_t fcc_lseek(krb5_fcc_data *data, off_t offset, int whence) argument
325 if (whence == SEEK_CUR && data->valid_bytes) {
331 return lseek(data->file, offset, whence);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_sys.c2007 int whence = POPi; local
2027 XPUSHs(sv_2mortal(newSViv(whence)));
2037 PUSHs(boolSV(do_seek(gv, offset, whence)));
2039 Off_t sought = do_sysseek(gv, offset, whence);
H A Ddoio.c1104 Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence) argument
1114 return PerlIO_seek(fp, pos, whence) >= 0;
1123 Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence) argument
1129 return PerlLIO_lseek(PerlIO_fileno(fp), pos, whence);
H A Dperlio.c1580 Perl_PerlIO_seek(pTHX_ PerlIO *f, Off_t offset, int whence) argument
1582 Perl_PerlIO_or_fail(f, Seek, -1, (aTHX_ f, offset, whence));
2384 PerlIOUnix_seek(pTHX_ PerlIO *f, Off_t offset, int whence) argument
2396 new = PerlLIO_lseek(fd, offset, whence);
3064 PerlIOStdio_seek(pTHX_ PerlIO *f, Off_t offset, int whence) argument
3067 return PerlSIO_fseek(stdio, offset, whence);
3711 PerlIOBuf_seek(pTHX_ PerlIO *f, Off_t offset, int whence) argument
3717 code = PerlIO_seek(PerlIONext(f), offset, whence);
3910 PerlIOPending_seek(pTHX_ PerlIO *f, Off_t offset, int whence) argument
3916 return PerlIO_seek(f, offset, whence);
[all...]

Completed in 67 milliseconds