Lines Matching defs:dst_fd
73 int dst_fd;
76 dst_fd = open(localpath_td, O_RDWR|O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
77 if(dst_fd < 0){
84 dst_fd = open(localpath_td, O_RDWR|O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
85 if(dst_fd < 0){
89 halfsize = lseek(dst_fd, 0L, SEEK_END);
90 lseek(dst_fd, halfsize, SEEK_SET);
104 write(dst_fd, buffer, buflen);
114 close(dst_fd);
121 close(dst_fd);
128 close(dst_fd);