bin/cpdup/cpdup.c
1118
if ((fd1 = hc_open(&SrcHost, spath, O_RDONLY, 0)) >= 0) {
bin/cpdup/cpdup.c
1119
if ((fd2 = hc_open(&DstHost, path, O_WRONLY|O_CREAT|O_EXCL, 0600)) < 0) {
bin/cpdup/cpdup.c
1128
fd2 = hc_open(&DstHost, path, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600);
bin/cpdup/cpdup.c
1404
fd = hc_open(cphost, fpath, O_RDONLY, 0);
bin/cpdup/cpdup.c
649
fd1 = hc_open(&SrcHost, spath, O_RDONLY, 0);
bin/cpdup/cpdup.c
650
fd2 = hc_open(&DstHost, dpath, O_RDONLY, 0);
bin/cpdup/hcproto.h
101
int hc_open(struct HostConf *hc, const char *path, int flags, mode_t mode);