Searched refs:lseek (Results 126 - 150 of 262) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c465 ((lseek(temp, (off_t)0, SEEK_CUR) - 1) / BLKSIZE));
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c279 if (lseek(fd, 0, SEEK_SET) != 0 ||
/illumos-gate/usr/src/man/man2/
H A DMakefile75 lseek.2 \
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c208 lseek(int filefd, off_t addr, int whence) function
231 * to support 64-bit offsets. For now, lseek() just
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c123 * Unfortunately, that's not portable, so we use lseek
127 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtvtouch.c260 if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1))
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfiles.c192 if ((lseek(fd, 0, SEEK_SET) == (off_t)-1) ||
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c584 if (lseek(fd, 0, SEEK_SET) == -1) {
777 if (lseek(fcode_fd, 0, SEEK_SET) == -1) {
988 if (lseek(fcode_fd, 0, SEEK_SET) == -1) {
1388 lseek(fcode_fd, 0, SEEK_SET);
/illumos-gate/usr/src/boot/sys/sys/
H A Dtypes.h384 off_t lseek(int, off_t, int);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c293 if (lseek(bzf->bzf_rawfd, 0, SEEK_SET) == -1) {
H A Dsplitfs.c291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR);
/illumos-gate/usr/src/boot/sys/boot/userboot/libstand/
H A DMakefile122 fstat.c close.c lseek.c open.c read.c write.c readdir.c
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c858 if (lseek(file, brec, SEEK_SET) == -1) {
859 DPRINTF("add_entry: failed to lseek config file\n");
923 if (lseek(file, frec, SEEK_SET) == -1) {
924 DPRINTF("add_entry: failed to lseek config file\n");
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc.c852 offset = lseek(procfd, (off_t)addr, SEEK_SET);
854 DBG(perror("prb_proc_read: lseek failed"));
882 offset = lseek(procfd, (off_t)addr, SEEK_SET);
884 DBG(perror("prb_proc_write: lseek failed"));
/illumos-gate/usr/src/lib/libpp/common/
H A Dppinput.c163 if (lseek(cur->fd, 0L, SEEK_END) > 0 && !lseek(cur->fd, 0L, SEEK_SET))
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c980 if (iseekn && lseek(ibf, (((off_t)iseekn) * ((off_t)ibs)), 1) == -1)
982 perror("lseek");
988 if (oseekn && lseek(obf, (((off_t)oseekn) * ((off_t)obs)), 1) == -1)
990 perror("lseek");
/illumos-gate/usr/src/cmd/audio/audiorecord/
H A Daudiorecord.c451 ((err = (int)lseek(ofd, 0L, SEEK_CUR)) >= 0)) {
461 if ((int)lseek(ofd, st.st_size, SEEK_SET) < 0) {
/illumos-gate/usr/src/cmd/avs/dscfg/
H A Ddscfg.c412 rc = lseek(fd, CFG_VTOC_SKIP, SEEK_SET);
733 lseek(fild, offset, SEEK_SET);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c61 extern long lseek();
289 pos = lseek((int)(intptr_t)rstrm->tcp_handle, 0, 1);
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c471 if (offset != -1 && lseek(fd, offset, SEEK_SET) != offset)
498 if (lseek(fd, offset, SEEK_SET) != offset)
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c353 Sfoff_t end, cur =lseek(ep->fd, (Sfoff_t)0, SEEK_CUR);
358 end =lseek(ep->fd, (Sfoff_t)0, SEEK_END);
359 lseek(ep->fd, (Sfoff_t)0, SEEK_CUR);
1244 off=lseek(fn, off, SEEK_SET);
1397 lseek(fd,(off_t)0,SEEK_SET);
1542 ftruncate(origfd,lseek(origfd,0,SEEK_CUR));
1830 if(lseek(fd,NIL(off_t),SEEK_CUR)<0)
2256 #undef lseek macro
2258 * shell version of lseek() for user added builtins
2266 return(lseek(f
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c240 lseek(uf, 0, 0);
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c951 if (lseek(fd, cyl * cyl_size, 0) != cyl * cyl_size) {
1019 if (lseek(fd, (off_t)0, 0) != 0) {
1236 if (lseek(fd, off, 0) != off) {
1259 if (lseek(fd, off, 0) != off) {
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c509 if (lseek(fileno(fp), startp, 0) == -1) {
672 if (lseek(fileno(fp), startp, 0) == -1) {
862 if (lseek(fileno(fp), startp, 0) == -1) {
1256 if (lseek(fileno(fp), startp, 0) == -1) {
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c98 if (lseek(output_fd, offset, SEEK_SET) < 0) {
99 perror("lseek");

Completed in 98 milliseconds

1234567891011