Lines Matching refs:rc
437 int rc;
441 rc = -1;
445 if (rc && (SET_TOD_CLOCK_SETTIME == tod || !tod)) {
453 rc = clock_settime(CLOCK_REALTIME, &ts);
455 TRACE(1, ("ntp_set_tod: clock_settime: %d %m\n", rc));
456 if (!tod && !rc)
462 if (rc && (SET_TOD_SETTIMEOFDAY == tod || !tod)) {
472 rc = SETTIMEOFDAY(tvp, tzp);
474 TRACE(1, ("ntp_set_tod: settimeofday: %d %m\n", rc));
475 if (!tod && !rc)
480 if (rc && (SET_TOD_STIME == tod || !tod)) {
484 rc = stime(&tp); /* lie as bad as SysVR4 */
486 TRACE(1, ("ntp_set_tod: stime: %d %m\n", rc));
487 if (!tod && !rc)
494 set_tod_used[tod], rc));
498 if (!rc && NULL != set_tod_using) {
503 if (rc)
506 return rc;