Searched refs:oldfd (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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, fflags, sflags; local 137 oldfd = f ? f->file : -1; 138 if((f = sfnew(f,NIL(char*),(size_t)SF_UNBOUND,fd,sflags)) && oldfd >= 0) 139 (void)sfsetfd(f,oldfd);
|
/illumos-gate/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()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 1191 register int newfd,oldfd; in hist_exceptf() local 1198 close(oldfd=sffileno(fp)); in hist_exceptf() 1201 if(fcntl(newfd, F_DUPFD, oldfd) !=oldfd) in hist_exceptf() 1203 fcntl(oldfd,F_SETFD,FD_CLOEXEC); in hist_exceptf() 1205 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt) in hist_exceptf() 1208 lseek(oldfd,(off_t)2,SEEK_SET); in hist_exceptf()
|
/illumos-gate/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()
|
/illumos-gate/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()
|