Searched defs:exit_code (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.set.c48 int exit_code; local
69 exit_code = 0;
79 exit_code = 1;
93 exit_code = 1;
107 exit_code = 1;
121 exit_code = 1;
135 exit_code = 1;
143 return (exit_code);
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4u.c62 int exit_code = 0; /* init to all OK */ local
72 exit_code = error_check(tree, kstats);
76 * are not logging or exit_code is set (machine is broke).
78 if (!logging || exit_code) {
120 display_diaginfo((syserrlog || (logging && exit_code)),
124 return (exit_code);
H A Ddisplay_sun4v.c124 int exit_code = 0; local
188 exit_code = sun4v_disp_env_status();
190 return (exit_code);
1049 int exit_code = 0; local
1062 exit_code |= (!all_status_ok);
1067 exit_code |= (!all_status_ok);
1072 exit_code |= (!all_status_ok);
1077 exit_code |= (!all_status_ok);
1082 exit_code |= (!all_status_ok);
1087 exit_code |
[all...]
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c122 int exit_code = 0; local
163 exit_code += display_value(*printers,
168 exit_code = display_value(ns_printer_get_name(name, ns),
173 return (exit_code);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcancel.c70 int i, exit_code; local
96 exit_code = berkeley_cancel_request(svc, stdout, printer, 1,
100 if (exit_code != 0)
104 return (exit_code);
110 int exit_code = 0; local
180 exit_code = 1;
187 exit_code = 1;
192 exit_code = 1;
209 exit_code = 1;
221 exit_code
[all...]
H A Dlpmove.c73 int exit_code = 0; local
115 exit_code = 1;
157 exit_code = 1;
164 exit_code = 1;
171 exit_code = 1;
185 exit_code = 1;
193 exit_code = 1;
209 return (exit_code);
H A Dlpr.c71 int exit_code = 0; local
275 return (exit_code);
H A Dlpstat.c1243 int exit_code = 0; local
1337 exit_code += printer_query(optarg, report_accepting,
1341 exit_code += printer_query(optarg, report_class,
1345 exit_code += printer_query(optarg, report_printer,
1349 exit_code += lpstat_default_printer(encryption);
1352 exit_code += lpstat_service_status(encryption);
1357 exit_code += job_query(NULL, report_job,
1365 exit_code += printer_query(optarg, report_device,
1370 exit_code += job_query(optarg, report_job,
1374 exit_code
[all...]
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c105 ld_atexit(int exit_code) argument
112 if (!depend_file || exit_code)
143 ld_atexit64(int exit_code) argument
145 ld_atexit(exit_code);
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c158 ld_atexit(int exit_code) argument
160 if (exit_code)
181 ld_atexit64(int exit_code) argument
183 if (exit_code)
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dlibefi.c75 void exit(EFI_STATUS exit_code) argument
79 BS->Exit(IH, exit_code, 0, NULL);
/illumos-gate/usr/src/cmd/allocate/
H A Ddminfo.c74 * dmapi_err(exit_code,err_msg) prints message pointed to by err_msg to
76 * exit_code.
80 dmapi_err(int exit_code, char *err_msg) argument
85 if (exit_code == EINVOKE) {
104 exit(exit_code);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c113 int exit_code = 0; /* init to all OK */ local
124 /* set exit_code to show failures */
125 exit_code = 1;
129 return (exit_code);
153 int exit_code; local
158 exit_code = 0;
166 exit_code = 1;
168 return (exit_code);
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c685 int fd, c, timeout = 0, exit_code = 0; local
795 exit_code = errno;
799 exit_code = errno;
803 exit_code = errno;
806 exit_code = EINVAL;
811 if ((exit_code == 0) && (sendfd(1, fd) < 0)) {
814 exit_code = errno;
821 syslog(LOG_DEBUG, "exit code: %d", exit_code);
822 return (exit_code);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c40 static int exit_code = PD_SUCCESS; variable
382 * OBP's device tree. Ignore its return value and use our exit_code instead.
385 * 480/490. The exit_code we return is set while do_devinfo() calls our local
393 return (exit_code);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c107 int exit_code = 0; /* init to all OK */ local
111 /* set exit_code to show failures */
112 exit_code = 1;
116 return (exit_code);
462 int exit_code = 0; local
473 exit_code = 1;
475 return (exit_code);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmethod.c641 * to return and return its exit code in *exit_code. Otherwise set
642 * *exit_code to 0 if the method succeeds & -1 if it fails. If the
656 method_run(restarter_inst_t **instp, int type, int *exit_code) argument
686 *exit_code = 0;
1020 *exit_code = WEXITSTATUS(ret_status);
1021 if (*exit_code != 0) {
1028 "%d.", mname, *exit_code);
1030 if (*exit_code != 0)
1078 if ((transient || *exit_code != 0 || result != 0) &&
1114 int r, exit_code; local
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dadm.c450 int exit_code = 0; /* exit code for program */ local
640 exit_code = fchba_display_config(&argv[path_index],
643 exit_code = adm_display_config(&argv[path_index]);
678 exit_code = fchba_inquiry(&argv[path_index]);
680 exit_code = adm_inquiry(&argv[path_index]);
710 exit_code = fchba_non_encl_probe();
750 exit_code = fcal_update(Options & PVERBOSE, file_name);
754 exit_code = setboot(Options & OPTION_Y,
819 exit_code = adm_reserve(argv[path_index]);
847 exit_code
[all...]
H A Dfchba.c2034 int exit_code; local
2071 exit_code = devctl_device_online(dcp);
2074 exit_code = devctl_device_offline(dcp);
2078 if (exit_code != 0) {
2089 return (exit_code);
H A Dhotplug.c1265 int exit_code; local
1307 exit_code = devctl_device_online(dcp);
1310 exit_code = devctl_device_offline(dcp);
1313 if ((exit_code = devctl_device_getstate(dcp,
1319 exit_code = devctl_device_reset(dcp);
1323 if (exit_code != 0) {
1426 exit_code = devctl_bus_quiesce(dcp);
1429 exit_code = devctl_bus_unquiesce(dcp);
1432 if ((exit_code = devctl_bus_getstate(dcp,
1438 exit_code
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c112 int exit_code = 0; /* init to all OK */ local
118 /* set exit_code to show failures */
119 exit_code = 1;
123 return (exit_code);
137 int exit_code = 0; local
148 exit_code = 1;
150 return (exit_code);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c95 int exit_code = 0; /* init to all OK */ local
105 /* set exit_code to show failures */
106 exit_code = 1;
110 return (exit_code);
236 int exit_code; local
244 exit_code = 0;
252 exit_code = 1;
254 return (exit_code);
1001 int exit_code = 0; local
1030 exit_code
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c428 int exit_code = 0; /* init to all OK */ local
436 /* set exit_code to show failures */
437 exit_code = 1;
441 return (exit_code);
455 int exit_code; local
460 exit_code = 0;
468 exit_code = 1;
470 return (exit_code);
1253 int exit_code = 0; local
1269 return (exit_code);
1501 int exit_code = 0; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c98 int exit_code = 0; /* init to all OK */ local
108 /* set exit_code to show failures */
109 exit_code = 1;
113 return (exit_code);
239 int exit_code; local
247 exit_code = 0;
255 exit_code = 1;
257 return (exit_code);
953 int exit_code = 0; local
1006 exit_code
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c182 int exit_code = 0; variable
970 if (reply == (char *) 0 || exit_code != 3)
983 terminate(exit_code);
1374 exit_code = 1;
1468 exit_code = n + 4;
1499 exit_code = 3;

Completed in 108 milliseconds

12