Lines Matching defs:rc
112 static int action_match(char *action, int rc);
469 int rc, ok;
673 rc = pclose(ph);
690 rc = pclose(ph);
712 pidw = waitpid(pid, &rc, 0);
722 rc = system(cmd);
746 rc = system(cmd);
750 if (rc >= 256) {
751 rc = rc/256;
753 rfbLog("command returned: %d\n", rc);
760 return rc;
1451 * return code rc. * means the default action with no other match.
1453 static int action_match(char *action, int rc) {
1523 if (cases[i] >= 0 && cases[i] == rc) {
1531 rfbLog("no action match: %s rc=%d set to no\n", action, rc);
1683 int rc;
1686 rc = run_user_command(cmd, client, "accept", NULL, 0, NULL);
1691 if (rc < 0) {
1693 "rc: %d, action %s\n", rc, action);
1696 result = action_match(action, rc);
1700 rc = 0;
1702 rc = 1;
1704 rc = 0;
1708 rc = 1; /* NOTREACHED */
1712 if (rc == 0) {
2437 int rc, len = 0;
2470 rc = system(cmd);
2472 if (rc != 0) {
3505 int rc = -1;
3509 RAWFB_RET(rc)
3512 return rc;
3519 return rc;
3521 rc = XChangeProperty(dpy, win, aprop, XA_STRING, 8,
3523 return rc;
3525 RAWFB_RET(rc)
3527 return rc;