Searched refs:from_fd (Results 1 - 7 of 7) sorted by relevance
/netbsd-6-1-5-RELEASE/bin/mv/ |
H A D | mv.c | 261 int nread, from_fd, to_fd; local 263 if ((from_fd = open(from, O_RDONLY, 0)) < 0) { 270 (void)close(from_fd); 276 (void)close(from_fd); 280 while ((nread = read(from_fd, bp, blen)) > 0) 289 (void)close(from_fd); 294 if (fcpxattr(from_fd, to_fd) == -1) 297 (void)close(from_fd);
|
/netbsd-6-1-5-RELEASE/bin/cp/ |
H A D | utils.c | 98 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local 102 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) { 129 (void)close(from_fd); 138 (void)close(from_fd); 160 (void)close(from_fd); 168 (void)close(from_fd); 201 from_fd, (off_t)0); 242 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) { 260 if (pflag && (fcpxattr(from_fd, to_fd) != 0)) 263 (void)close(from_fd); [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | extattr.c | 100 extattr_copy_fd(int from_fd, int to_fd, int namespace) argument 109 llen = extattr_list_fd(from_fd, namespace, NULL, 0); 125 llen = extattr_list_fd(from_fd, namespace, alist, (size_t)llen); 142 vlen = extattr_get_fd(from_fd, namespace, aname, NULL, 0); 152 if ((vlen = extattr_get_fd(from_fd, namespace, aname, 333 fcpxattr(int from_fd, int to_fd) argument 342 if ((error = extattr_copy_fd(from_fd, to_fd, *ns)) != 0)
|
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | tag.h | 29 int from_fd; /* from cscope: file descriptor. */ member in struct:_csc
|
H A D | ex_cscope.c | 427 csc->from_fd = from_cs[0];
|
/netbsd-6-1-5-RELEASE/usr.bin/xinstall/ |
H A D | xinstall.c | 626 int devnull, from_fd, to_fd, serrno, tmpmode; local 705 if ((from_fd = open(from_name, O_RDONLY, 0)) < 0) { 710 copy(from_fd, from_name, to_fd, to_name, from_sb.st_size); 711 (void)close(from_fd); 812 copy(int from_fd, char *from_name, int to_fd, char *to_name, off_t size) argument 864 MAP_FILE|MAP_SHARED, from_fd, (off_t)0)) 905 while ((nr = read(from_fd, buf, sizeof(buf))) > 0) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 643 int from_fd, to_fd; local 646 if ((from_fd = open(from, O_RDONLY, 0)) < 0) 649 (void)close(from_fd); 652 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) { 655 (void)close(from_fd); 661 close(from_fd);
|
Completed in 189 milliseconds