Searched defs:oldfd (Results 1 - 8 of 8) sorted by relevance
/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) argument 36 return (syscall(SYS_renameat, oldfd, oldname, newfd, newname));
|
/illumos-gate/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);
|
/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) 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 D | history.c | 1159 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 D | sndrd.c | 1325 static int oldfd = -1; local 1351 if (oldfd != fd) { 1352 oldfd = fd;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 880 static int oldfd = -1; local 906 if (oldfd != fd) { 907 oldfd = fd;
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 1014 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 60 milliseconds