/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 465 ((lseek(temp, (off_t)0, SEEK_CUR) - 1) / BLKSIZE));
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | wait.c | 279 if (lseek(fd, 0, SEEK_SET) != 0 ||
|
/illumos-gate/usr/src/man/man2/ |
H A D | Makefile | 75 lseek.2 \
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | fsswitch.c | 208 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 D | rec_open.c | 123 * 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 D | tvtouch.c | 260 if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1))
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | files.c | 192 if ((lseek(fd, 0, SEEK_SET) == (off_t)-1) ||
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 584 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 D | types.h | 384 off_t lseek(int, off_t, int);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bzipfs.c | 293 if (lseek(bzf->bzf_rawfd, 0, SEEK_SET) == -1) {
|
H A D | splitfs.c | 291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/libstand/ |
H A D | Makefile | 122 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 D | cfga_configfile.c | 858 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 D | prb_proc.c | 852 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 D | ppinput.c | 163 if (lseek(cur->fd, 0L, SEEK_END) > 0 && !lseek(cur->fd, 0L, SEEK_SET))
|
/illumos-gate/usr/src/cmd/dd/ |
H A D | dd.c | 980 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 D | audiorecord.c | 451 ((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 D | dscfg.c | 412 rc = lseek(fd, CFG_VTOC_SKIP, SEEK_SET); 733 lseek(fild, offset, SEEK_SET);
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | xdr_rec.c | 61 extern long lseek(); 289 pos = lseek((int)(intptr_t)rstrm->tcp_handle, 0, 1);
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 471 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 D | io.c | 353 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 D | in.comsat.c | 240 lseek(uf, 0, 0);
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 951 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 D | cntrl.c | 509 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 D | tnfxtract.c | 98 if (lseek(output_fd, offset, SEEK_SET) < 0) { 99 perror("lseek");
|