Searched refs:lseek (Results 1 - 25 of 262) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dtell.c29 long lseek();
33 return(lseek(f, 0L, 1));
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dlseek.s30 .file "lseek.s"
32 /* C library -- lseek */
33 /* off_t lseek(int fildes, off_t offset, int whence); */
38 ANSI_PRAGMA_WEAK(lseek,function)
47 SYSCALL_RVAL1(lseek)
49 SET_SIZE(lseek)
H A Dllseek.s45 * For _LP64, llseek() is the same as lseek().
47 SYSCALL2_RVAL1(llseek,lseek)
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
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 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 Dfdopen.c43 extern long lseek();
75 (void) lseek(fd, 0L, 2);
/illumos-gate/usr/src/lib/libast/common/dir/
H A Dtelldir.c40 return(lseek(dirp->dd_fd, 0L, SEEK_CUR) + (long)dirp->dd_loc);
H A Dseekdir.c48 lseek(dirp->dd_fd, 0L, SEEK_SET);
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.h49 extern off_t lseek(int, off_t, int);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dseekdir.c41 extern long lseek();
48 (void) lseek(dirp->dd_fd, tell, 0);
H A D_nlist.c55 if ((fd == -1) || (lseek(fd, 0L, 0) == -1) ||
63 lseek(fd, sa, 0);
77 lseek(fd, ss+soff, 0);
/illumos-gate/usr/src/ucbhead/
H A Dunistd.h62 /* Symbolic constants for the "lseek" routine: */
127 #pragma redefine_extname lseek lseek64
129 #define lseek lseek64 macro
135 #pragma redefine_extname lseek64 lseek
137 #define lseek64 lseek
161 extern off_t lseek(int, off_t, int);
163 extern off_t lseek();
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dftruncate.c36 if ((cursize = lseek(fd, 0L, 2)) == -1)
41 if (lseek(fd, wantsize - 1, 0) == -1 ||
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtell.c63 return (lseek(f, 0, SEEK_CUR));
H A Dseekdir.c60 if (lseek(dirp->dd_fd, 0, SEEK_CUR) != 0) {
66 (void) lseek(dirp->dd_fd, loc, SEEK_SET);
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Drawput.c59 if (lseek(fd, off, 0) != off) {
H A Doutput.c93 if ((lseek(fd, 0L, SEEK_SET) == 0) &&
H A Dinput.c157 if ((lseek(elf->ed_fd, off,
189 if ((lseek(elf->ed_fd, off, SEEK_SET) != off) ||
206 register off_t off = lseek(fd, (off_t)0, SEEK_END);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c36 lseek(int fd, off_t offset, int whence) function
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c49 ret = lseek(fd, offset, whence);
/illumos-gate/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))
74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlogdir.c84 (void) lseek(pwf, (long)(j - i), 1);
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c114 if (lseek(fd, 0L, 0) == -1L) { /* rewind to beginning of object file */
318 if (lseek(fd, offset, 0L) == -1) {
381 if (lseek(fd, (long)sa, 0) == -1L) {
417 long home = lseek(fd, 0L, 1);
422 if (lseek(fd, buf.f_symptr +
433 lseek(fd, home, 0) == -1) {
434 (void) lseek(fd, home, 0);
493 if ((where = lseek(fd, 0L, 1)) == -1L) {
509 if ((lseek(fd, where + SYMESZ + (AUXESZ * sym->n_numaux), 0)) == -1L) {
/illumos-gate/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);

Completed in 71 milliseconds

1234567891011