Searched defs:oldfd (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Drename.c34 renameat(int oldfd, const char *oldname, int newfd, const char *newname) argument
36 return (syscall(SYS_renameat, oldfd, oldname, newfd, newname));
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetfd.c66 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.c46 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);
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c294 int oldfd, const char *oldname, int newfd, const char *newname)
297 oldfd, oldname, newfd, newname));
293 s10_renameat(sysret_t *rval, int oldfd, const char *oldname, int newfd, const char *newname) argument
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c1159 register int newfd,oldfd; local
1166 close(oldfd=sffileno(fp));
1169 if(fcntl(newfd, F_DUPFD, oldfd) !=oldfd)
1171 fcntl(oldfd,F_SETFD,FD_CLOEXEC);
1173 if(lseek(oldfd,(off_t)0,SEEK_END) < hp->histcnt)
1176 lseek(oldfd,(off_t)2,SEEK_SET);
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c1325 static int oldfd = -1; local
1351 if (oldfd != fd) {
1352 oldfd = fd;
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c880 static int oldfd = -1; local
906 if (oldfd != fd) {
907 oldfd = fd;
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c1014 nsc_fd_t *oldfd; local
1051 oldfd = krdc->bitmapfd;
1095 krdc->bitmapfd = oldfd; /* replace under lock */
1156 sts = nsc_held(oldfd) ? 0 : nsc_reserve(oldfd, 0);
1165 sts = rdc_ns_io(oldfd, rdc_wrflag, 0,
1182 nsc_pathname(oldfd));
1187 if (nsc_close(oldfd) != 0) {

Completed in 75 milliseconds