/freebsd-11-stable/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-11-stable/bin/mv/ |
H A D | mv.c | 377 int pid, status; local 403 if (waitpid(pid, &status, 0) == -1) { 407 if (!WIFEXITED(status)) { 412 switch (WEXITSTATUS(status)) { 419 warnx("%s %s %s: terminated with %d (non-zero) status", 420 _PATH_CP, from, to, WEXITSTATUS(status)); 429 if (waitpid(pid, &status, 0) == -1) { 433 if (!WIFEXITED(status)) { 437 switch (WEXITSTATUS(status)) { 444 warnx("%s %s: terminated with %d (non-zero) status", [all...] |
/freebsd-11-stable/bin/pax/ |
H A D | ar_io.c | 303 int status; local 346 waitpid(zpid, &status, 0);
|
/freebsd-11-stable/bin/pwait/ |
H A D | pwait.c | 70 int opt, nleft, n, i, duplicate, status; local 155 * Explicitly detect SIGALRM so that an exit status of 124 177 status = e[i].data; 178 if (WIFEXITED(status)) 179 printf("%ld: exited with status %d.\n", 181 WEXITSTATUS(status)); 182 else if (WIFSIGNALED(status)) 185 WTERMSIG(status));
|
/freebsd-11-stable/bin/pwait/tests/ |
H A D | pwait_test.sh | 24 timeout --preserve-status 15 pwait $p1 $p5 $p10 66 timeout --preserve-status 2 pwait -t 1d $init 72 timeout --preserve-status 2 pwait -t 1d $init 78 timeout --preserve-status 2 pwait -t -1 $init 84 timeout --preserve-status 2 pwait -t 100000001 $init 92 timeout --preserve-status 2 pwait -t 100000000 $init 98 timeout --preserve-status 2 pwait -t 1h $init 104 timeout --preserve-status 2 pwait -t 1.5h $init 110 timeout --preserve-status 2 pwait -t 1m $init 116 timeout --preserve-status [all...] |
/freebsd-11-stable/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-11-stable/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 */ 316 int status; local 319 status = 0; 331 status = exitstatus; 342 status = exitstatus; 345 exitstatus = status; 356 int status; local 365 status [all...] |
H A D | trap.c | 501 exitshell(int status) argument 503 TRACE(("exitshell(%d) pid=%d\n", status, getpid())); 505 exiting_exitstatus = status;
|
/freebsd-11-stable/bin/uuidgen/ |
H A D | uuidgen.c | 50 int ch, count, i, iterate, status; local 104 uuid_to_string(uuid++, &p, &status); 105 if (status != uuid_s_ok)
|
/freebsd-11-stable/cddl/compat/opensolaris/lib/libumem/ |
H A D | umem.h | 69 #define UMEM_CALLBACK_EXIT(status) (0x100 | ((status) & 0xFF))
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 424 int err, status; local 433 if (waitpid(child, &status, 0) != child) 435 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 436 error("nextboot returned with status %d", status); 862 * When /proc provides a stable pr_wstat in the status file, 876 notice("pid %d exited with status %d\n", 880 notice("pid %d exited with status %d\n", 1176 { "status rat 1308 dtrace_status_t status[2]; local [all...] |
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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
|
H A D | tst.DataModel64.d.ksh | 68 status=$? 70 if [ "$status" -ne 0 ]; then 74 exit $status
|