Lines Matching defs:rc
94 int rc;
118 rc = sscanf(buf, "%s %s %s %s %s", mas, sha, bit, mod, ovr);
119 if (rc != 5) {
251 int rc;
257 rc = cfg_dgname_islocal(dgname, &othernode);
258 if (rc < 0) {
265 if (rc == 0) {
422 int rc;
447 if ((rc = getmntany(mntfp, &mntent, &mntref)) != -1) {
523 rdc_rc_t *rc;
526 rc = new_rc();
527 if (rc == NULL)
529 strncpy(rc->set.phost, rdc->phost, MAX_RDC_HOST_SIZE);
530 strncpy(rc->set.pfile, rdc->pfile, NSC_MAXPATH);
531 strncpy(rc->set.pbmp, rdc->pbmp, NSC_MAXPATH);
532 strncpy(rc->set.shost, rdc->shost, MAX_RDC_HOST_SIZE);
533 strncpy(rc->set.sfile, rdc->sfile, NSC_MAXPATH);
534 strncpy(rc->set.sbmp, rdc->sbmp, NSC_MAXPATH);
536 rc->rc = -1;
540 strncpy(rc->msg, rdc_error(NULL), RDC_ERR_SIZE);
542 return (rc);