Searched refs:from_stat (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/bin/cp/ |
| H A D | utils.c | 307 copy_fifo(struct stat *from_stat, int exists) in copy_fifo() argument 319 if (mkfifo(to.p_path, from_stat->st_mode)) { in copy_fifo() 323 return (pflag ? setfile(from_stat, -1) : 0); in copy_fifo() 327 copy_special(struct stat *from_stat, int exists) in copy_special() argument 339 if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) { in copy_special() 343 return (pflag ? setfile(from_stat, -1) : 0); in copy_special()
|
| /freebsd-12.1/contrib/libc++/src/filesystem/ |
| H A D | operations.cpp | 745 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local 766 if (to_exists && detail::stat_equivalent(from_stat, to_stat_path)) in __copy_file() 774 auto from_time = detail::extract_mtime(from_stat); in __copy_file() 796 &to, m_ec, to_open_flags, from_stat.st_mode); in __copy_file() 808 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()
|