/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_log.c | 114 if (lseek(ulogfd, new_size, SEEK_SET) == -1) { 564 if (lseek(ulogfd, 0L, SEEK_CUR) == -1) { 571 if (lseek(ulogfd, ulog_filesize, SEEK_SET) == -1) { 689 if (lseek(ulogfd, ulog_filesize, SEEK_SET) == -1) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | eio.c | 50 extern long lseek(); /* Find offset into the file. */ 154 startPoint = lseek(fd1, 0L, 1); 157 DEBUG(7, "ewrdata lseek failed. Errno=%d\n", errno);
|
H A D | in.uucpd.c | 412 (void) lseek(wtmp, 0L, 2); 495 (void) lseek(wtmp, 0L, 2);
|
/illumos-gate/usr/src/cmd/strings/ |
H A D | strings.c | 119 (void) lseek(fd, 0L, 0); 512 (void) lseek(fd, 0L, 0);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | files.c | 290 lseek(fd, 0, SEEK_SET); 320 lseek(fd, 0, SEEK_SET);
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 269 hsize=lseek(fd,(off_t)0,SEEK_END); 440 lseek(fd,(off_t)0,SEEK_SET); 777 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) 817 lseek(acctfd, (off_t)0, SEEK_END); 1173 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt) 1176 lseek(oldfd,(off_t)2,SEEK_SET);
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 303 if (lseek(epp->dev_fd, label_offset, SEEK_SET) < 0) { 329 if (lseek(epp->dev_fd, seek_offset, SEEK_SET) < 0) { 648 if (lseek(epp->dev_fd, offset, SEEK_SET) < 0) { 776 if (lseek(epp->dev_fd, 0, SEEK_SET) < 0) { 1080 if (lseek(epp->dev_fd, seek_offset, SEEK_SET) < 0) { 1094 if (lseek(epp->dev_fd, seek_offset, SEEK_SET) < 0) {
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 724 (void) lseek(fd, 0L, SEEK_SET); 875 (void) lseek(wfdx, 0, SEEK_END); 1213 (void) lseek(fd, 0L, SEEK_END); 1214 offset = lseek(fd, 0L, SEEK_CUR); 1326 (void) lseek(fd, off, SEEK_SET); /* seek in the utmpx file */
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 201 rc = lseek(cfp->cf_fd, CFG_VTOC_SKIP, SEEK_SET); 232 rc = lseek(cfp->cf_fd, off, mode); 275 rc = lseek(cfp->cf_fd, offset, mode);
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n3.c | 539 lseek(ibf, ((long)woff) * sizeof(tchar), 0); 567 lseek(ibf, (long)j * sizeof(tchar), 0); 612 lseek(ibf, (long)roff * sizeof(tchar), 0);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 243 if (lseek(fd, KS_HASHED_PIN_SALT_LEN_OFFSET, SEEK_SET) 876 if (lseek(fd, ks_hashed_pinlen_offset, SEEK_SET) 1042 if (lseek(fd, KS_VER_OFFSET, SEEK_SET) != KS_VER_OFFSET) { 1098 * so, no need to do lseek 1311 if (lseek(old_fd, OBJ_DATA_OFFSET, SEEK_SET) != OBJ_DATA_OFFSET) { 1819 if (lseek(fd, KS_KEY_SALT_OFFSET, SEEK_SET) != KS_KEY_SALT_OFFSET) { 1838 if (lseek(fd, KS_HMAC_SALT_OFFSET, SEEK_SET) != KS_HMAC_SALT_OFFSET) { 2788 if (lseek(fd, KS_HASHED_PIN_SALT_LEN_OFFSET, SEEK_SET) 2862 if (lseek(fd, KS_KEY_SALT_OFFSET, SEEK_SET) != KS_KEY_SALT_OFFSET) {
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 496 if (lseek(cdfd, daddr, L_SET) == -1) { 497 sprintf(errstrng, "%s: getdisk: lseek()", callname); 513 if (lseek(cdfd, daddr, L_SET) == -1) { 514 sprintf(errstrng, "%s: putdisk: lseek()", callname);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | name.c | 315 * If stdin is a pipe then this lseek(2) will fail with ESPIPE, so 317 * lseek(2) back towards the beginning of the file, so we have 321 if (lseek(0, (off_t)0, SEEK_CUR) == -1) 327 * lseek(2) back towards the beginning of the file, so we have 429 * lseek(2) back towards the start because this is 435 lseek(0, (off_t)(f->nxtoff - f->endoff), SEEK_CUR);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 236 if (lseek(mp->fd, off, SEEK_SET) != off) 431 if (lseek(mp->fd, off, SEEK_SET) != off)
|
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 255 # define lseek sh_seek macro
|
/illumos-gate/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 255 # define lseek sh_seek macro
|
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 255 # define lseek sh_seek macro
|
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 255 # define lseek sh_seek macro
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_stable.c | 293 (void) lseek(fd, 0, SEEK_SET);
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 140 if (lseek(id, 0, SEEK_SET) < 0)
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | flsbuf.c | 102 lseek(iop->_file, -(iop->_cnt), SEEK_CUR);
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmds2.c | 280 lseek(0, 0L, 2);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.lex.c | 17 #include <unistd.h> /* for lseek prototype */ 1291 (void) lseek(SHIN, fseekp, 0); 1424 (void) lseek(SHIN, (off_t)0, 2); 1438 if (lseek(SHIN, (off_t)0, 1) < 0 || errno == ESPIPE) 1443 fseekp = fbobp = feobp = lseek(SHIN, (off_t)0, 1);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 188 ret = lseek(fp->f_file, (off_t) offset, whence);
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 139 if (lseek(fd, 0, 0) < 0) { // reset 140 perror("lseek");
|