Searched refs:lseek (Results 101 - 125 of 262) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_log.c114 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 Deio.c50 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 Din.uucpd.c412 (void) lseek(wtmp, 0L, 2);
495 (void) lseek(wtmp, 0L, 2);
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c119 (void) lseek(fd, 0L, 0);
512 (void) lseek(fd, 0L, 0);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c290 lseek(fd, 0, SEEK_SET);
320 lseek(fd, 0, SEEK_SET);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c269 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 Dlibfdisk.c303 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 Dgetutx.c724 (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 Dcfg_local.c201 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 Dn3.c539 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 DsoftKeystoreUtil.c243 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 Dlabelit.c496 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 Dname.c315 * 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 Dmpool.c236 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 Dshell.h255 # define lseek sh_seek macro
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h255 # define lseek sh_seek macro
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h255 # define lseek sh_seek macro
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h255 # define lseek sh_seek macro
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c293 (void) lseek(fd, 0, SEEK_SET);
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dcache.c140 if (lseek(id, 0, SEEK_SET) < 0)
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c102 lseek(iop->_file, -(iop->_cnt), SEEK_CUR);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds2.c280 lseek(0, 0L, 2);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.lex.c17 #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 Dstdio.c188 ret = lseek(fp->f_file, (off_t) offset, whence);
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc139 if (lseek(fd, 0, 0) < 0) { // reset
140 perror("lseek");

Completed in 101 milliseconds

1234567891011