Searched refs:filefd (Results 1 – 2 of 2) sorted by relevance
/openbsd/usr.bin/rsync/ |
H A D | uploader.c | 698 pre_file(const struct upload *p, int *filefd, off_t *size, in pre_file() argument 732 *filefd = -1; in pre_file() 793 *filefd = openat(p->rootfd, f->path, O_RDONLY | O_NOFOLLOW); in pre_file() 794 if (*filefd == -1 && errno != ENOENT) { in pre_file()
|
/openbsd/libexec/ftpd/ |
H A D | ftpd.c | 1502 int c, cnt, filefd, netfd; in send_data() local 1537 filefd = fileno(instr); in send_data() 1548 buf = mmap(0, fsize, PROT_READ, MAP_SHARED, filefd, 0); in send_data() 1583 while ((cnt = read(filefd, buf, (size_t)blksize)) > 0 && in send_data()
|