Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 269) sorted by relevance

1234567891011

/titanic_44/usr/src/ucbhead/
H A Dunistd.h127 #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 Dlseek.s38 ANSI_PRAGMA_WEAK(lseek,function)
47 SYSCALL_RVAL1(lseek)
49 SET_SIZE(lseek)
/titanic_44/usr/src/lib/libbc/libc/stdio/common/
H A Dfseek.c38 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 Drew.c31 extern long lseek();
38 (void) lseek(fileno(iop), 0L, 0);
H A Dftell.c39 extern long lseek();
59 tres = lseek(fileno(iop), 0L, 1);
H A Dfdopen.c43 extern long lseek();
75 (void) lseek(fd, 0L, 2);
/titanic_44/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c114 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 Dbstream.c190 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 Dtic_read.c141 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 Dtell.c29 long lseek();
33 return(lseek(f, 0L, 1)); in tell()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c71 (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.c55 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 Dseekdir.c41 extern long lseek();
48 (void) lseek(dirp->dd_fd, tell, 0);
/titanic_44/usr/src/lib/libnsl/yp/
H A Ddbm.c179 (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 Dftruncate.c36 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 Ddbm.c181 (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 Dfilehdr.c148 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 Dgetut.c168 (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 Dseekdir.c60 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 Dinput.c157 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 Dastcopy.c67 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 Dunistd.h201 #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.c140 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 Dcfg_lockdlck.c105 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 Dcat.c342 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()

1234567891011