Lines Matching refs:rtn

588 	int	rtn;  in old_addsvc()  local
627 if ((rtn = system(buf)) < 0) { in old_addsvc()
630 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in old_addsvc()
632 switch (rtn) { in old_addsvc()
670 int rtn = NLS_OK; in prt_nets() local
698 rtn = QZERO; in prt_nets()
703 rtn = QONE; in prt_nets()
716 return(rtn); in prt_nets()
735 int rtn; in prt_svcs() local
748 if ((rtn = svc_format(buf, &entry)) != 0) { in prt_svcs()
749 switch (rtn) { in prt_svcs()
795 if (rtn == NOTLISTEN) { /* check last return to see if error */ in prt_svcs()
819 int rtn; in disable_svc() local
823 if ((rtn = system(buf)) < 0) { in disable_svc()
826 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in disable_svc()
828 switch (rtn) { in disable_svc()
859 int rtn; in enable_svc() local
863 if ((rtn = system(buf)) < 0) { in enable_svc()
866 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in enable_svc()
868 switch (rtn) { in enable_svc()
899 int rtn; in remove_svc() local
903 if ((rtn = system(buf)) < 0) { in remove_svc()
906 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in remove_svc()
908 switch (rtn) { in remove_svc()
941 int rtn; in kill_listener() local
945 if ((rtn = system(buf)) < 0) { in kill_listener()
948 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in kill_listener()
950 switch (rtn) { in kill_listener()
989 int rtn; in add_pm() local
993 if ((rtn = system(buf)) < 0) { in add_pm()
996 rtn = (rtn>>8) & 0xff; /* get child return value out of exit word */ in add_pm()
998 switch (rtn) { in add_pm()
1054 int rtn; in start_listener() local
1058 if ((rtn = system(buf)) < 0) in start_listener()
1060 rtn = (rtn>>8) & 0xff; in start_listener()
1061 switch (rtn) { in start_listener()
1088 if ((rtn = system(buf)) < 0) { in start_listener()
1091 rtn = (rtn>>8) & 0xff; in start_listener()
1092 switch (rtn) { in start_listener()
1133 int rtn; in setup_addr() local
1153 if ((rtn = svc_format(buf, &entry)) != 0) { in setup_addr()
1154 switch (rtn) { in setup_addr()
1195 if ((rtn = svc_format(buf, &entry)) != 0) { in setup_addr()
1196 switch (rtn) { in setup_addr()