Searched refs:status (Results 1 - 25 of 3538) sorted by path

1234567891011>>

/freebsd-11-stable/bin/ed/
H A Dglbl.c72 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 Dmain.c109 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 Dmv.c377 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 Dar_io.c303 int status; local
346 waitpid(zpid, &status, 0);
/freebsd-11-stable/bin/pwait/
H A Dpwait.c70 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 Dpwait_test.sh24 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 Dutil.c107 int status; local
122 if (waitpid(pid, &status, 0) < 0)
123 status = -1;
126 return (status);
/freebsd-11-stable/bin/sh/
H A Deval.c46 #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 Dtrap.c501 exitshell(int status) argument
503 TRACE(("exitshell(%d) pid=%d\n", status, getpid()));
505 exiting_exitstatus = status;
/freebsd-11-stable/bin/uuidgen/
H A Duuidgen.c50 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 Dumem.h69 #define UMEM_CALLBACK_EXIT(status) (0x100 | ((status) & 0xFF))
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c424 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 Dbadioctl.c118 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 DJDTrace.java488 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 Ddtest.pl222 # 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 Dtst.cputime.ksh83 status=$?
85 if [ "$status" -ne 0 ]; then
86 exit $status
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Derr.cpcvscpustatpart1.ksh74 status=$?
78 exit $status
H A Derr.cpcvscpustatpart2.ksh67 status=$?
70 exit $status
H A Derr.cputrackfailtostart.ksh73 status=$?
77 exit $status
H A Derr.cputrackterminates.ksh66 status=$?
70 exit $status
H A Dtst.allcpus.ksh92 status=$?
107 exit $status
H A Dtst.platformevent.ksh79 status=$?
81 exit $status
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dtst.AddSearchPath.d.ksh74 status=$?
76 if [ "$status" -ne 0 ]; then
78 exit $status
H A Dtst.DataModel32.d.ksh67 status=$?
69 if [ "$status" -ne 0 ]; then
73 exit $status
H A Dtst.DataModel64.d.ksh68 status=$?
70 if [ "$status" -ne 0 ]; then
74 exit $status

Completed in 196 milliseconds

1234567891011>>