Searched refs:oldfd (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/lib/libast/common/sfio/ |
H A D | sfsetfd.c | 66 reg int oldfd; local 85 oldfd = f->file; 86 if(oldfd >= 0) 88 { if((newfd = _sfdup(oldfd,newfd)) < 0) 92 CLOSE(oldfd);
|
H A D | _sfopen.c | 46 int fd, oldfd, oflags, sflags; local 131 oldfd = f ? f->file : -1; 132 if((f = sfnew(f,NIL(char*),(size_t)SF_UNBOUND,fd,sflags)) && oldfd >= 0) 133 (void)sfsetfd(f,oldfd);
|
/titanic_41/usr/src/lib/libc/port/sys/ |
H A D | rename.c | 34 renameat(int oldfd, const char *oldname, int newfd, const char *newname) in renameat() argument 36 return (syscall(SYS_renameat, oldfd, oldname, newfd, newname)); in renameat()
|
/titanic_41/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 1159 register int newfd,oldfd; in hist_exceptf() local 1166 close(oldfd=sffileno(fp)); in hist_exceptf() 1169 if(fcntl(newfd, F_DUPFD, oldfd) !=oldfd) in hist_exceptf() 1171 fcntl(oldfd,F_SETFD,FD_CLOEXEC); in hist_exceptf() 1173 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt) in hist_exceptf() 1176 lseek(oldfd,(off_t)2,SEEK_SET); in hist_exceptf()
|
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 294 int oldfd, const char *oldname, int newfd, const char *newname) in s10_renameat() argument 297 oldfd, oldname, newfd, newname)); in s10_renameat()
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 1014 nsc_fd_t *oldfd; in rdc_move_bitmap() local 1051 oldfd = krdc->bitmapfd; in rdc_move_bitmap() 1095 krdc->bitmapfd = oldfd; /* replace under lock */ in rdc_move_bitmap() 1156 sts = nsc_held(oldfd) ? 0 : nsc_reserve(oldfd, 0); in rdc_move_bitmap() 1165 sts = rdc_ns_io(oldfd, rdc_wrflag, 0, in rdc_move_bitmap() 1182 nsc_pathname(oldfd)); in rdc_move_bitmap() 1187 if (nsc_close(oldfd) != 0) { in rdc_move_bitmap()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 880 static int oldfd = -1; in do_poll_clts_action() local 906 if (oldfd != fd) { in do_poll_clts_action() 907 oldfd = fd; in do_poll_clts_action()
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1325 static int oldfd = -1; in do_poll_clts_action() local 1351 if (oldfd != fd) { in do_poll_clts_action() 1352 oldfd = fd; in do_poll_clts_action()
|