Searched refs:local_fd (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | sftp-client.c | 1159 int local_fd = -1, write_error; in do_download() local 1222 local_fd = open(local_path, in do_download() 1224 if (local_fd == -1) { in do_download() 1231 if (fstat(local_fd, &st) == -1) { in do_download() 1247 if (local_fd != -1) in do_download() 1248 close(local_fd); in do_download() 1330 if ((lseek(local_fd, req->offset, SEEK_SET) == -1 || in do_download() 1331 atomicio(vwrite, local_fd, data, len) != len) && in do_download() 1396 if (ftruncate(local_fd, highwater) == -1) in do_download() 1417 if (preserve_flag && fchmod(local_fd, mode) == -1) in do_download() [all …]
|
/external/ppp/pppd/ |
D | sys-linux.c | 1996 int local_fd; in ppp_registered() local 2008 if (!get_pty(&mfd, &local_fd, slave, 0)) { in ppp_registered() 2016 if (ioctl(local_fd, TIOCSETD, &ppp_disc) < 0) { in ppp_registered() 2021 close(local_fd); in ppp_registered()
|