setup_pid_and_socket
rc = setup_pid_and_socket(cmd, &lfd, &pfd);
int setup_pid_and_socket(command_t *cmd, int *lfdp, int *pfdp);