Lines Matching defs:rc
247 int did, rc;
296 rc = setdirparams(vol, path, bitmap, ibuf );
298 rc = setfilparams(vol, path, bitmap, ibuf );
300 if ( rc == AFP_OK ) {
304 return( rc );
343 int rc;
406 rc = AFPERR_MISC;
416 rc = AFPERR_OLOCK;
423 rc = AFPERR_MISC;
429 rc = AFPERR_PARAM;
434 if (0 != (rc = check_name(vol, upath))) {
441 rc = AFP_OK;
448 rc = AFPERR_EXIST;
454 rc = AFPERR_EXIST;
462 rc = AFPERR_EXIST; /* was AFPERR_BUSY; */
464 rc = renamefile(vol, sdir_fd, oldunixname, upath, newname, adp );
465 if (rc == AFP_OK)
469 rc = renamedir(vol, sdir_fd, oldunixname, upath, sdir, curdir, newname);
471 if ( rc == AFP_OK && id ) {
474 rc = AFPERR_MISC;
501 return rc;
515 int rc;
571 rc = moveandrename(vol, sdir, -1, oldname, newname, isdir);
572 if ( rc == AFP_OK ) {
576 return( rc );
586 int did, rc;
615 rc = AFPERR_ACCESS;
622 if ((rc = deletecurdir(vol)) == AFP_OK)
627 rc = AFPERR_BUSY;
634 rc = AFPERR_NOOBJ;
636 if ((rc = deletefile(vol, -1, upath, 1)) == AFP_OK) {
650 if ( rc == AFP_OK ) {
659 return( rc );
706 int rc;
761 rc = afp_errno; /* was AFPERR_PARAM */
765 rc = AFPERR_NOOBJ;
770 rc = path_error(path, AFPERR_NOOBJ);
776 rc = AFPERR_PARAM;
787 rc = moveandrename(vol, sdir, sdir_fd, oldname, newname, isdir);
789 if ( rc == AFP_OK ) {
793 rc = AFPERR_PARAM;
811 rc = retvalue;
833 return( rc );