/titanic_44/usr/src/ucbhead/ |
H A D | unistd.h | 127 #pragma redefine_extname lseek lseek64 129 #define lseek lseek64 135 #pragma redefine_extname lseek64 lseek 137 #define lseek64 lseek 161 extern off_t lseek(int, off_t, int); 163 extern off_t lseek();
|
/titanic_44/usr/src/lib/libc/common/sys/ |
H A D | lseek.s | 38 ANSI_PRAGMA_WEAK(lseek,function) 47 SYSCALL_RVAL1(lseek) 49 SET_SIZE(lseek)
|
/titanic_44/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fseek.c | 38 extern long lseek(); 56 long curpos = lseek(fileno(iop), 0L, 1); 78 p = lseek(fileno(iop), offset-resync, ptrname); 90 return(lseek(fileno(iop), offset, ptrname) == -1 || p == EOF ?
|
H A D | rew.c | 31 extern long lseek(); 38 (void) lseek(fileno(iop), 0L, 0);
|
H A D | ftell.c | 39 extern long lseek(); 59 tres = lseek(fileno(iop), 0L, 1);
|
H A D | fdopen.c | 43 extern long lseek(); 75 (void) lseek(fd, 0L, 2);
|
/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 114 if (lseek(fd, 0L, 0) == -1L) { /* rewind to beginning of object file */ in nlist() 318 if (lseek(fd, offset, 0L) == -1) { in elf_read() 381 if (lseek(fd, (long)sa, 0) == -1L) { in _coff_nlist() 417 long home = lseek(fd, 0L, 1); in _coff_nlist() 422 if (lseek(fd, buf.f_symptr + in _coff_nlist() 433 lseek(fd, home, 0) == -1) { in _coff_nlist() 434 (void) lseek(fd, home, 0); in _coff_nlist() 493 if ((where = lseek(fd, 0L, 1)) == -1L) { in sym_read() 509 if ((lseek(fd, where + SYMESZ + (AUXESZ * sym->n_numaux), 0)) == -1L) { in sym_read()
|
/titanic_44/usr/src/cmd/cdrw/ |
H A D | bstream.c | 190 sz = lseek(h->bstr_fd, 0L, SEEK_END); in wav_write_stream_close() 191 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in wav_write_stream_close() 197 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in wav_write_stream_close() 212 sz = lseek(h->bstr_fd, 0L, SEEK_END); in au_write_stream_close() 215 if (lseek(h->bstr_fd, 8L, SEEK_SET) < 0) in au_write_stream_close() 235 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in file_stream_rewind() 243 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in au_stream_rewind() 248 if (lseek(h->bstr_fd, (long)(BE32_TO_CPU(au.au_offset)), in au_stream_rewind() 257 (void) lseek(h->bstr_fd, (long)(sizeof (Wave_filehdr)), SEEK_SET); in wav_stream_rewind() 317 (void) lseek(h->bstr_fd, ISO9660_BOOT_BLOCK_SIZE, SEEK_SET); in open_iso_read_stream() [all …]
|
/titanic_44/usr/src/cmd/tic/ |
H A D | tic_read.c | 141 extern long lseek(); 169 lseek(fd, (long)(header.name_size - 127), 1); 176 lseek(fd, (long)(header.bool_count - BoolCount), 1); 203 lseek(fd, (long)(2 * (header.num_count - NumCount)), 1); 266 lseek(fd, (long)(2 * (header.str_count - StrCount)), 1);
|
/titanic_44/usr/src/lib/libbc/libc/compat/common/ |
H A D | tell.c | 29 long lseek(); 33 return(lseek(f, 0L, 1)); in tell()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 71 (void) lseek(db->dbm_pagf, (long)(db->dbm_pagbno*PBLKSIZ), L_SET); in dbm_flushpag() 86 (void) lseek(db->dbm_dirf, (long)(db->dbm_dirbno*DBLKSIZ), L_SET); in dbm_flushdir() 227 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_delete() 268 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_store() 304 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_store() 310 (void) lseek(db->dbm_pagf, in dbm_store() 415 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkptr*PBLKSIZ), L_SET); in dbm_slow_nextkey() 484 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkptr*PBLKSIZ), L_SET); in dbm_do_nextkey() 629 (void) lseek(db->dbm_dirf, (long)(b*DBLKSIZ), L_SET); in dbm_access() 647 (void) lseek(db->dbm_pagf, (long)(db->dbm_pagbno*PBLKSIZ), L_SET); in dbm_access() [all …]
|
H A D | _nlist.c | 55 if ((fd == -1) || (lseek(fd, 0L, 0) == -1) || in _nlist() 63 lseek(fd, sa, 0); in _nlist() 77 lseek(fd, ss+soff, 0); in _nlist()
|
H A D | seekdir.c | 41 extern long lseek(); 48 (void) lseek(dirp->dd_fd, tell, 0);
|
/titanic_44/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 179 (void) lseek(pagf, blkno*PBLKSIZ, 0); in delete() 212 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store() 240 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store() 244 (void) lseek(pagf, (blkno+hmask+1)*PBLKSIZ, 0); in store() 330 (void) lseek(pagf, blkno*PBLKSIZ, 0); in dbm_access() 356 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in getbit() 387 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in setbit()
|
/titanic_44/usr/src/lib/libresolv2/common/bsd/ |
H A D | ftruncate.c | 36 if ((cursize = lseek(fd, 0L, 2)) == -1) in __ftruncate() 41 if (lseek(fd, wantsize - 1, 0) == -1 || in __ftruncate()
|
/titanic_44/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 181 (void) lseek(pagf, blkno*PBLKSIZ, 0); in delete() 219 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store() 258 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store() 261 (void) lseek(pagf, (blkno+hmask+1)*PBLKSIZ, 0); in store() 341 (void) lseek(pagf, blkno*PBLKSIZ, 0); in dbm_access() 366 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in getbit() 396 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in setbit()
|
/titanic_44/usr/src/cmd/audio/utilities/ |
H A D | filehdr.c | 148 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 160 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 172 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 198 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_au_filesize() 231 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_wav_filesize() 243 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_wav_filesize() 277 } else if ((lseek(fd, (off_t)0, SEEK_SET) < 0) || in audio_rewrite_filesize() 396 err = lseek(fd, (off_t)(resid - 1), SEEK_CUR); in audio_read_filehdr() 621 if (lseek(fd, size, SEEK_CUR) < 0) { in decode_aiff() 646 (void) lseek(fd, (off_t)4, SEEK_SET); in decode_au() [all …]
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 168 (void) lseek(fd, 0L, 1); in getutent_frec() 347 loc_utmp = lseek(fd, 0L, 1); in _compat_pututline() 353 (void) lseek(fd, -(long)sizeof (struct futmp), 1); in _compat_pututline() 355 (void) lseek(fd, -(long)sizeof (struct futmp), 1); in _compat_pututline() 395 (void) lseek(fd, 0L, 0); in _compat_setutent() 437 (void) lseek(fd, 0, 2); in _compat_updwtmp()
|
H A D | seekdir.c | 60 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) { in seekdir() 66 (void) lseek(dirp->dd_fd, loc, SEEK_SET); in seekdir()
|
/titanic_44/usr/src/cmd/sgs/libelf/common/ |
H A D | input.c | 157 if ((lseek(elf->ed_fd, off, in _elf_vm() 189 if ((lseek(elf->ed_fd, off, SEEK_SET) != off) || in _elf_vm() 206 register off_t off = lseek(fd, (off_t)0, SEEK_END); in _elf_inmap()
|
/titanic_44/usr/src/lib/libast/common/port/ |
H A D | astcopy.c | 67 if (!fstat(rfd, &st) && S_ISREG(st.st_mode) && (pos = lseek(rfd, (off_t)0, 1)) != ((off_t)-1)) in astcopy() 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1); in astcopy()
|
/titanic_44/usr/src/head/ |
H A D | unistd.h | 201 #pragma redefine_extname lseek lseek64 209 #define lseek lseek64 222 #pragma redefine_extname lseek64 lseek 230 #define lseek64 lseek 415 extern off_t lseek(int, off_t, int);
|
/titanic_44/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 140 if (lseek(fd, h.e_phoff, SEEK_SET) != h.e_phoff || in __fex_read_syms() 152 if (lseek(fd, h.e_shoff, SEEK_SET) != h.e_shoff || in __fex_read_syms() 191 if (lseek(fd, sh[i].sh_offset, SEEK_SET) != sh[i].sh_offset || in __fex_read_syms() 193 lseek(fd, sh[sh[i].sh_link].sh_offset, SEEK_SET) != in __fex_read_syms()
|
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 105 lseek(local_lockfd, off, SEEK_SET); in cfg_readpid() 113 lseek(local_lockfd, off, SEEK_SET); in cfg_writepid()
|
/titanic_44/usr/src/cmd/cat/ |
H A D | cat.c | 342 if (S_ISREG(statp->st_mode) && (lseek(fi_desc, (off_t)0, SEEK_CUR) in cat() 403 (void) lseek(fi_desc, (off_t)mapoffset, in cat() 422 (void) lseek(fi_desc, (off_t)mapoffset, in cat() 432 (void) lseek(fi_desc, (off_t)mapoffset, SEEK_SET); in cat()
|