/freebsd-9.3-release/lib/libc/sys/ |
H A D | lseek.c | 46 lseek(fd, offset, whence) 49 int whence; 53 return(__sys_lseek(fd, offset, whence)); 55 return(__sys_freebsd6_lseek(fd, 0, offset, whence));
|
/freebsd-9.3-release/tools/regression/lib/libc/stdio/ |
H A D | test-open_memstream.c | 161 #define SEEK_FAIL(offset, whence, error) do { \ 163 if (fseeko(fp, (offset), (whence)) == 0) \ 165 __STRING(offset), __STRING(whence), \ 169 __STRING(offset), __STRING(whence), errno, \ 173 #define SEEK_OK(offset, whence, result) do { \ 174 if (fseeko(fp, (offset), (whence)) != 0) \ 176 __STRING(offset), __STRING(whence), strerror(errno)); \ 179 __STRING(offset), __STRING(whence), \
|
H A D | test-open_wmemstream.c | 161 #define SEEK_FAIL(offset, whence, error) do { \ 163 if (fseeko(fp, (offset), (whence)) == 0) \ 165 __STRING(offset), __STRING(whence), \ 169 __STRING(offset), __STRING(whence), errno, \ 173 #define SEEK_OK(offset, whence, result) do { \ 174 if (fseeko(fp, (offset), (whence)) != 0) \ 176 __STRING(offset), __STRING(whence), strerror(errno)); \ 179 __STRING(offset), __STRING(whence), \
|
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | fseek.c | 54 fseek(fp, offset, whence) 57 int whence; 67 ret = _fseeko(fp, (off_t)offset, whence, 1); 75 fseeko(fp, offset, whence) 78 int whence; 88 ret = _fseeko(fp, offset, whence, 0); 100 _fseeko(fp, offset, whence, ltest) 103 int whence; 121 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument. 122 * After this, whence i [all...] |
H A D | stdio.c | 75 __sseek(cookie, offset, whence) 78 int whence; 82 return (lseek(fp->_file, (off_t)offset, whence)); 148 _sseek(fp, offset, whence) 151 int whence; 158 ret = (*fp->_seek)(fp->_cookie, offset, whence); 169 if (offset != 0 || whence != SEEK_CUR) {
|
H A D | fmemopen.c | 49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence); 209 fmemopen_seek(void *cookie, fpos_t offset, int whence) argument 214 switch (whence) {
|
H A D | open_memstream.c | 108 memstream_seek(void *cookie, fpos_t pos, int whence) argument 119 switch (whence) { 157 whence, (intmax_t)old, (intmax_t)ms->offset);
|
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | syslogio.c | 121 ** offset -- the new offset position relative to 'whence' 122 ** whence -- flag indicating start of 'offset' 129 sm_syslogseek(fp, offset, whence) 132 int whence;
|
H A D | fseek.c | 68 ** offset -- seek offset based on 'whence' 69 ** whence -- indicates where seek is relative from. 77 sm_io_seek(fp, timeout, offset, whence) 81 int SM_NONVOLATILE whence; 129 ** Change any SM_IO_SEEK_CUR to SM_IO_SEEK_SET, and check `whence' 130 ** argument. After this, whence is either SM_IO_SEEK_SET or 134 switch (whence) 168 whence = SM_IO_SEEK_SET; 215 if (whence == SM_IO_SEEK_SET) 322 (*seekfn)(fp, (off_t) offset, whence) [all...] |
H A D | smstdio.c | 193 ** offset -- new location based on 'whence' 194 ** whence -- indicates "base" for 'offset' 201 sm_stdioseek(fp, offset, whence) 204 int whence; 211 return fseek(s, offset, whence);
|
H A D | stdio.c | 167 ** offset -- how far to position from "base" (set by 'whence') 168 ** whence -- indicates where the "base" of the 'offset' to start 179 sm_stdseek(fp, offset, whence) 182 int whence; 186 ret = lseek(fp->f_file, (off_t) offset, whence);
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 58 fd_seek(krb5_storage * sp, off_t offset, int whence) argument 60 return lseek(FD(sp), offset, whence);
|
H A D | store_emem.c | 81 emem_seek(krb5_storage *sp, off_t offset, int whence) argument 84 switch(whence){
|
H A D | store_mem.c | 74 mem_seek(krb5_storage *sp, off_t offset, int whence) argument 77 switch(whence){
|
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | stdio.h | 51 isc_stdio_seek(FILE *f, off_t offset, int whence);
|
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | stdio.h | 51 isc_stdio_seek(FILE *f, long offset, int whence);
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | sysdep.h | 155 extern int fseeko (FILE *stream, off_t offset, int whence); 161 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
|
H A D | bfdio.c | 53 real_fseek (FILE *file, file_ptr offset, int whence) argument 56 return fseeko64 (file, offset, whence); 58 return fseeko (file, offset, whence); 60 return fseek (file, offset, whence); 101 . int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
|
H A D | cache.c | 252 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) argument 254 FILE *f = bfd_cache_lookup (abfd, whence != SEEK_CUR ? CACHE_NO_SEEK : 0); 257 return real_fseek (f, offset, whence);
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_other.c | 77 largs.whence = uap->whence;
|
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/ |
H A D | stdio.c | 53 isc_stdio_seek(FILE *f, long offset, int whence) { argument 56 r = fseek(f, offset, whence);
|
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | stdio.c | 52 isc_stdio_seek(FILE *f, long offset, int whence) { argument 55 r = fseek(f, offset, whence);
|
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/ |
H A D | stdio.c | 54 isc_stdio_seek(FILE *f, off_t offset, int whence) { argument 57 r = fseeko(f, offset, whence);
|
/freebsd-9.3-release/lib/libz/ |
H A D | gzlib.c | 365 z_off64_t ZEXPORT gzseek64(file, offset, whence) 368 int whence; 386 if (whence != SEEK_SET && whence != SEEK_CUR) 390 if (whence == SEEK_SET) 442 z_off_t ZEXPORT gzseek(file, offset, whence) 445 int whence; 449 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/freebsd-9.3-release/sys/boot/userboot/ |
H A D | userboot.h | 101 int whence);
|