Searched refs:whence (Results 1 - 25 of 35) sorted by relevance

12

/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c31 __os_seek(fd, pgsize, pageno, relative, isrewind, whence)
36 int isrewind, whence;
43 pgsize, pageno, relative, isrewind, whence);
49 ret = lseek(fd, offset, whence);
/osnet-11/usr/src/lib/libaio/common/
H A Dllib-laio34 int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
36 int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
39 int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
41 int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int 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/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/cmd/sendmail/libsm/
H A Dfseek.c70 ** offset -- seek offset based on 'whence'
71 ** whence -- indicates where seek is relative from.
79 sm_io_seek(fp, timeout, offset, whence)
83 int SM_NONVOLATILE whence;
131 ** Change any SM_IO_SEEK_CUR to SM_IO_SEEK_SET, and check `whence'
132 ** argument. After this, whence is either SM_IO_SEEK_SET or
136 switch (whence)
170 whence = SM_IO_SEEK_SET;
217 if (whence == SM_IO_SEEK_SET)
324 (*seekfn)(fp, (off_t) offset, whence)
[all...]
H A Dsmstdio.c195 ** offset -- new location based on 'whence'
196 ** whence -- indicates "base" for 'offset'
203 sm_stdioseek(fp, offset, whence)
206 int whence;
213 return fseek(s, offset, whence);
H A Dstdio.c169 ** offset -- how far to position from "base" (set by 'whence')
170 ** whence -- indicates where the "base" of the 'offset' to start
181 sm_stdseek(fp, offset, whence)
184 int whence;
188 ret = lseek(fp->f_file, (off_t) offset, whence);
H A Dstrio.c153 ** values for whence.
158 ** whence -- determines "base" for 'offset'
166 sm_strseek(fp, offset, whence)
169 int whence;
175 switch (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
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstdio.in.h314 _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence)
316 _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence));
318 _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence));
335 _GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)
337 _GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence));
340 _GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)
343 _GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence));
353 rpl_fseek (FILE *fp, long offset, int whence)
356 return rpl_fseeko (fp, offset, whence);
358 return fseeko (fp, offset, whence);
[all...]
H A Dunistd.in.h942 _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence));
943 _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence));
945 _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence));
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dparted_io.c31 loff_t llseek(unsigned int fd, loff_t offset, unsigned int whence);
/osnet-11/usr/src/lib/libshell/common/data/
H A Dbuiltins.c122 "type", NV_BLTIN|BLT_ENV, bltin(whence),
123 "whence", NV_BLTIN|BLT_ENV, bltin(whence),
1841 "[-1c?\n@(#)$Id: whence (AT&T Research) 2007-04-24 $\n]"
1843 "[+NAME?whence - locate a command and describe its type]"
/osnet-11/usr/src/cmd/sendmail/src/
H A Dbf.c428 ** whence -- how to seek
439 sm_bfseek(fp, offset, whence)
442 int whence;
450 switch (whence)
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice.h91 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/scalar/
H A Dscalar.xs77 PerlIOScalar_seek(pTHX_ PerlIO * f, Off_t offset, int whence)
80 switch (whence) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperliol.h36 IV (*Seek) (pTHX_ PerlIO *f, Off_t offset, int whence);
179 extern IV PerlIOBuf_seek(pTHX_ PerlIO *f, Off_t offset, int whence);
H A Dperlio.h68 int fseeko(FILE *stream, off_t offset, int 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...]
/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/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/cmd/perl/5.8.4/distrib/lib/Tie/
H A DHandle.pm89 =item SEEK this, offset, whence
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/via/
H A Dvia.xs360 PerlIOVia_seek(pTHX_ PerlIO * f, Off_t offset, int whence)
365 SV *whsv = sv_2mortal(newSViv(whence));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs1431 lseek(fd, offset, whence)
1434 int whence
1436 Off_t pos = PerlLIO_lseek(fd, offset, whence);

Completed in 48 milliseconds

12