file_sync_client.c | 297 static int sync_send(int fd, const char *lpath, const char *rpath, 307 len = strlen(rpath); 374 writex(fd, rpath, len) || writex(fd, tmp, r)) { 410 fprintf(stderr,"failed to copy '%s' to '%s': %s\n", lpath, rpath, sbuf->data); 441 int sync_recv(int fd, const char *rpath, const char *lpath) 449 len = strlen(rpath); 455 writex(fd, rpath, len)) { 499 fprintf(stderr,"cannot write '%s': %s\n", rpath, strerror(errno)); 526 fprintf(stderr,"failed to copy '%s' to '%s': %s\n", rpath, lpath, buffer); 602 const char *lpath, const char *rpath) 804 const char *rpath; member in struct:__anon15865 [all...] |