/freebsd-9.3-release/bin/ed/ |
H A D | glbl.c | 72 lines in a range; return command status */ 80 int status; local 128 if ((status = extract_addr_range()) < 0 || 129 (status = exec_command()) < 0 || 130 (status > 0 && (status = display_lines( 131 current_addr, current_addr, status)) < 0)) 132 return status;
|
H A D | main.c | 109 long status = 0; local 155 if ((status = sigsetjmp(env, 1))) 157 if ((status = setjmp(env))) 181 if (status < 0 && garrulous) 188 status = ERR; 203 status = EMOD; 211 status = ERR; 215 if ((status = extract_addr_range()) >= 0 && 216 (status = exec_command()) >= 0) 217 if (!status || [all...] |
/freebsd-9.3-release/bin/mv/ |
H A D | mv.c | 374 int pid, status; local 400 if (waitpid(pid, &status, 0) == -1) { 404 if (!WIFEXITED(status)) { 409 switch (WEXITSTATUS(status)) { 416 warnx("%s %s %s: terminated with %d (non-zero) status", 417 _PATH_CP, from, to, WEXITSTATUS(status)); 426 if (waitpid(pid, &status, 0) == -1) { 430 if (!WIFEXITED(status)) { 434 switch (WEXITSTATUS(status)) { 441 warnx("%s %s: terminated with %d (non-zero) status", [all...] |
/freebsd-9.3-release/bin/pax/ |
H A D | ar_io.c | 304 int status; local 347 waitpid(zpid, &status, 0);
|
/freebsd-9.3-release/bin/pwait/ |
H A D | pwait.c | 69 int opt, nleft, n, i, duplicate, status; local 128 status = e[i].data; 129 if (WIFEXITED(status)) 130 printf("%ld: exited with status %d.\n", 132 WEXITSTATUS(status)); 133 else if (WIFSIGNALED(status)) 136 WTERMSIG(status));
|
/freebsd-9.3-release/bin/rcp/ |
H A D | util.c | 107 int status; local 122 if (waitpid(pid, &status, 0) < 0) 123 status = -1; 126 return (status);
|
/freebsd-9.3-release/bin/sh/ |
H A D | eval.c | 46 #include <sys/wait.h> /* For WIFSIGNALED(status) */ 86 int exitstatus; /* exit status of last command */ 87 int oexitstatus; /* saved exit status */ 298 int status; local 301 status = 0; 312 status = exitstatus; 323 status = exitstatus; 328 exitstatus = status; 571 TRACE(("evalpipe: job done exit status %d\n", exitstatus));
|
H A D | jobs.c | 189 int status; local 201 status = waitforjob(jp, (int *)NULL); 203 return status; 239 if (WIFSTOPPED(ps->status)) { 240 ps->status = -1; 325 while (!WIFSTOPPED(ps->status) && ps > jp->ps) 327 if (WIFSTOPPED(ps->status)) 328 i = WSTOPSIG(ps->status); 336 } else if (WIFEXITED(ps->status)) { 337 if (WEXITSTATUS(ps->status) 465 int status, retval; local 964 int status; local 1017 int status; local 1119 waitproc(int block, int *status) argument [all...] |
H A D | jobs.h | 52 int status; /* status flags (defined above) */ member in struct:procstat 63 struct procstat ps0; /* status of process */ 64 struct procstat *ps; /* status or processes when more than one */ 69 char changed; /* true if status has changed */ 79 SHOWJOBS_DEFAULT, /* job number, status, command */ 80 SHOWJOBS_VERBOSE, /* job number, PID, status, command */
|
H A D | miscbltin.c | 99 int status; local 156 status = select(1, &ifds, NULL, NULL, &tv); 160 if (status <= 0) 164 status = 0; 170 status = 1; 253 return status;
|
H A D | trap.c | 498 exitshell(int status) argument 500 TRACE(("exitshell(%d) pid=%d\n", status, getpid())); 502 exiting_exitstatus = status;
|
/freebsd-9.3-release/cddl/compat/opensolaris/lib/libumem/ |
H A D | umem.h | 69 #define UMEM_CALLBACK_EXIT(status) (0x100 | ((status) & 0xFF))
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 813 * When /proc provides a stable pr_wstat in the status file, 827 notice("pid %d exited with status %d\n", 831 notice("pid %d exited with status %d\n", 1127 { "status rate", "statusrate" }, 1222 dtrace_status_t status[2]; local 1246 bzero(status, sizeof (status));
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 118 int status; local 124 while (waitpid(child, &status, WEXITED) != child) 127 if (WIFEXITED(status)) { 130 * the same status code. 132 exit(WEXITSTATUS(status)); 139 WTERMSIG(status));
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 488 exit(int status) argument 492 if (status == 0) { 493 status = exitStatus; 495 System.exit(status);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 222 # the file is named tst.* we assume it should return exit status 0. If the 223 # file is named err.* we assume it should return exit status 1. If the file is 261 $status = 0; 263 $status = 1; 266 $status = 1; 268 $status = 0; 279 if ($opt_a && ($status != 0 || $tag != 0 || $droptag != 0 || 334 if ($tag == 0 && $status == $0 && $opt_a) { 357 if ($tag == 0 && $status == $0 && $opt_a) { 456 if ($wexitstat != $status) { [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.cputime.ksh | 83 status=$? 85 if [ "$status" -ne 0 ]; then 86 exit $status
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | err.cpcvscpustatpart1.ksh | 74 status=$? 78 exit $status
|
H A D | err.cpcvscpustatpart2.ksh | 67 status=$? 70 exit $status
|
H A D | err.cputrackfailtostart.ksh | 73 status=$? 77 exit $status
|
H A D | err.cputrackterminates.ksh | 66 status=$? 70 exit $status
|
H A D | tst.allcpus.ksh | 92 status=$? 107 exit $status
|
H A D | tst.platformevent.ksh | 79 status=$? 81 exit $status
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/ |
H A D | tst.AddSearchPath.d.ksh | 74 status=$? 76 if [ "$status" -ne 0 ]; then 78 exit $status
|
H A D | tst.DataModel32.d.ksh | 67 status=$? 69 if [ "$status" -ne 0 ]; then 73 exit $status
|