/freebsd-11-stable/contrib/nvi/ex/ |
H A D | tag.h | 27 int from_fd; /* from cscope: file descriptor. */ member in struct:_csc
|
H A D | ex_cscope.c | 444 csc->from_fd = from_cs[0];
|
/freebsd-11-stable/bin/mv/ |
H A D | mv.c | 280 int nread, from_fd, to_fd; local 283 if ((from_fd = open(from, O_RDONLY, 0)) < 0) { 289 (void)close(from_fd); 297 (void)close(from_fd); 300 while ((nread = read(from_fd, bp, (size_t)blen)) > 0) 309 (void)close(from_fd); 332 preserve_fd_acls(from_fd, to_fd, from, to); 333 (void)close(from_fd);
|
/freebsd-11-stable/bin/cp/ |
H A D | utils.c | 84 int ch, checkch, from_fd, rcount, rval, to_fd; local 90 from_fd = to_fd = -1; 92 (from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) { 167 MAP_SHARED, from_fd, (off_t)0)) != MAP_FAILED) { 213 while ((rcount = read(from_fd, buf, bufsize)) > 0) { 263 if (pflag && preserve_fd_acls(from_fd, to_fd) != 0) 272 if (from_fd != -1) 273 (void)close(from_fd);
|
/freebsd-11-stable/usr.bin/xinstall/ |
H A D | xinstall.c | 753 int devnull, files_match, from_fd, serrno, stripped, target; local 760 from_fd = -1; 810 if (!devnull && (from_fd = open(from_name, O_RDONLY, 0)) < 0) 820 files_match = !(compare(from_fd, from_name, 848 digestresult = copy(from_fd, from_name, to_fd, 1030 (void)close(from_fd); 1043 compare(int from_fd, const char *from_name __unused, size_t from_len, argument 1062 if (trymmap(from_fd) && trymmap(to_fd)) { 1064 from_fd, (off_t)0); 1088 lseek(from_fd, 1199 copy(int from_fd, const char *from_name, int to_fd, const char *to_name, off_t size) argument [all...] |
/freebsd-11-stable/usr.sbin/config/ |
H A D | main.c | 597 int from_fd, to_fd; local 601 if ((from_fd = open(from_name, O_RDONLY)) < 0) 607 if (!changed && fstat(from_fd, &from_sb) < 0) 619 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0);
|
/freebsd-11-stable/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 697 int from_fd, rcount, to_fd, wcount; local 699 if ((from_fd = open(from, O_RDONLY, 0)) < 0) 703 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) {
|
/freebsd-11-stable/usr.sbin/nfsd/ |
H A D | nfsd.c | 1074 copy_stable(int from_fd, int to_fd) argument 1079 ret = lseek(from_fd, (off_t)0, SEEK_SET); 1086 cnt = read(from_fd, buf, 1024);
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | operations.cpp | 750 FileDescriptor from_fd = local 755 auto from_st = from_fd.get_status(); 756 StatT const& from_stat = from_fd.get_stat(); 825 if (!copy_file_impl(from_fd, to_fd, m_ec)) {
|