Searched refs:fh_local (Results 1 – 1 of 1) sorted by relevance
200 int fh_remote, fh_local; in gp_get_file() local215 fh_local = open(local_dst, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gp_get_file()216 if (fh_local == -1) { in gp_get_file()229 close(fh_local); in gp_get_file()236 close(fh_local); in gp_get_file()248 if (write(fh_local, buf, n) != n) { in gp_get_file()251 close(fh_local); in gp_get_file()260 close(fh_local); in gp_get_file()