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

1234567891011>>

/freebsd-9.3-release/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-9.3-release/bin/mv/
H A Dmv.c374 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 Dar_io.c304 int status; local
347 waitpid(zpid, &status, 0);
/freebsd-9.3-release/bin/pwait/
H A Dpwait.c69 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 Dutil.c107 int status; local
122 if (waitpid(pid, &status, 0) < 0)
123 status = -1;
126 return (status);
/freebsd-9.3-release/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 */
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 Djobs.c189 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 Djobs.h52 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 Dmiscbltin.c99 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 Dtrap.c498 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 Dumem.h69 #define UMEM_CALLBACK_EXIT(status) (0x100 | ((status) & 0xFF))
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c813 * 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 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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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

Completed in 213 milliseconds

1234567891011>>