int quit(ProcFamilyClient& pfc, int argc, char* argv[]) { if (argc != 1) { fprintf(stderr, "error: no arguments required for %s\n", argv[0]); return 1; } bool success; if (!pfc.quit(success)) { fprintf(stderr, "error: communication error with ProcD\n"); return 1; } if (!success) { fprintf(stderr, "error: %s command failed with ProcD\n", argv[0]); return 1; } return 0; }