Searched refs:to_fd (Results 1 - 1 of 1) sorted by relevance
/system/core/toolbox/cp/ |
H A D | utils.c | 116 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local 125 to_fd = -1; 161 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); 163 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, 166 if (to_fd == -1 && (fflag || tolnk)) { 172 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, 176 if (to_fd == -1) { 187 (void)close(to_fd); 240 if (write(to_fd, &p[fsize - remainder], 261 wcount = write(to_fd, bu [all...] |
Completed in 549 milliseconds