/titanic_44/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 194 print_exit_status(pid_t pid, int wstat) in print_exit_status() argument 197 if (WIFSIGNALED(wstat)) { in print_exit_status() 199 int sig = WTERMSIG(wstat); in print_exit_status() 206 if (WCOREDUMP(wstat)) in print_exit_status() 209 (void) printf("exited with status %d", WEXITSTATUS(wstat)); in print_exit_status() 260 int wstat, r; in main() local 262 retc += r = reap(*argv++, &pid, &wstat); in main() 265 print_exit_status(pid, wstat); in main()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | passprompt.c | 31 int readgood, wstat; in promptpass() local 100 while (waitpid(kid, &wstat, 0) < 0) { in promptpass() 111 if (!WIFEXITED(wstat)) in promptpass() 113 if (WEXITSTATUS(wstat) != 0) in promptpass() 114 warn("%s exited with code %d", promptprog, WEXITSTATUS(wstat)); in promptpass()
|
/titanic_44/usr/src/cmd/csh/ |
H A D | wait3.c | 58 static int wstat(int code, int status); 99 *status = wstat(info.si_code, info.si_status); in csh_wait3() 111 wstat(int code, int status) in wstat() function
|
/titanic_44/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 69 static int wstat(int, int); 132 *status = wstat(info.si_code, info.si_status); in wait4() 143 wstat(int code, int status) in wstat() function
|
/titanic_44/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 282 int wstat = o->eo_item.ei_uint32; in disp_obj() local 285 if (WIFEXITED(wstat)) in disp_obj() 287 WEXITSTATUS(wstat)); in disp_obj() 288 else if (WIFSIGNALED(wstat)) in disp_obj() 290 WTERMSIG(wstat)); in disp_obj() 292 (void) printf("%d", wstat); in disp_obj() 294 (void) printf("%d", wstat); in disp_obj()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 52 wstat(int code, int status) in wstat() function 105 *stat_loc = wstat(info.si_code, info.si_status); in waitpid() 180 *stat_loc = wstat(info.si_code, info.si_status); in wait4()
|
/titanic_44/usr/src/lib/libbc/libc/sys/common/ |
H A D | wait.c | 163 static int wstat(int, int); 233 *status = wstat(info.si_code, info.si_status); in wait4() 245 wstat(int code, int status) in wstat() function
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 42 # define WIFCONTINUED(wstat) (0) argument 251 int nochild=0, oerrno, wstat; in job_reap() local 280 pid = waitpid((pid_t)-1,&wstat,flags); in job_reap() 289 pid = waitpid((pid_t)-1,&wstat,flags&=~WCONTINUED); in job_reap() 304 if (WIFCONTINUED(wstat) && wcontinued) in job_reap() 316 if(jp && WIFSTOPPED(wstat)) in job_reap() 325 if(WIFSTOPPED(wstat)) in job_reap() 335 pw->p_exit = WSTOPSIG(wstat); in job_reap() 340 else if (WIFCONTINUED(wstat) && wcontinued) in job_reap() 357 if (WIFSIGNALED(wstat)) in job_reap() [all …]
|
/titanic_44/usr/src/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 460 $wstat = $?; 461 $wifexited = ($wstat & 0xFF) == 0; 462 $wexitstat = ($wstat >> 8) & 0xFF; 463 $wtermsig = ($wstat & 0x7F);
|
/titanic_44/usr/src/cmd/logadm/ |
H A D | main.c | 1048 int wstat; in docmd() local 1053 if (waitpid(pid, &wstat, 0) < 0) in docmd() 1067 } else if (WIFSIGNALED(wstat)) in docmd() 1070 WTERMSIG(wstat), in docmd() 1078 else if (WIFEXITED(wstat) && WEXITSTATUS(wstat)) in docmd() 1081 WEXITSTATUS(wstat), in docmd()
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | umount.c | 896 int wstat, child, ret; in dowait() local 899 if ((child = wait(&wstat)) == -1) in dowait() 902 if (WIFEXITED(wstat)) /* this should always be true */ in dowait() 903 ret = WEXITSTATUS(wstat); in dowait()
|
H A D | mount.c | 1411 int child, wstat; in dowait() local 1413 if ((child = wait(&wstat)) == -1) in dowait() 1416 return (cleanupkid(child, wstat) != 0); in dowait() 1425 cleanupkid(pid_t pid, int wstat) in cleanupkid() argument 1430 if (WIFEXITED(wstat)) /* this should always be true */ in cleanupkid() 1431 ret = WEXITSTATUS(wstat); in cleanupkid()
|
/titanic_44/usr/src/cmd/praudit/ |
H A D | format.c | 1805 int rstat, wstat; in pa_string() local 1816 rstat = wstat = 0; in pa_string() 1819 while (wstat == 0) { in pa_string() 1825 wstat = pa_putstr(context, printable, &c, 1); in pa_string() 1831 while (wstat == 0) { in pa_string() 1853 wstat = pa_putstr(context, printable, mbuf, rlen); in pa_string() 1862 if (wstat == 0) in pa_string() 1863 wstat = do_newline(context, flag); in pa_string() 1865 if (wstat == 0 && context->data_mode == FILEMODE) in pa_string() 1868 return ((rstat != 0 || wstat != 0) ? -1 : 0); in pa_string()
|
/titanic_44/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 206 audiopci_ak_wait(audiopci_dev_t *dev, uint8_t wstat) in audiopci_ak_wait() argument 209 if (!(GET8(dev, CONC_bCODECSTAT_OFF) & wstat)) in audiopci_ak_wait() 229 uint8_t wstat; in audiopci_ak_write() local 234 wstat = addr == CODEC_RESET_PWRD ? CONC_CSTAT_CWRIP : CONC_CSTAT_CSTAT; in audiopci_ak_write() 237 if (audiopci_ak_wait(dev, wstat) != DDI_SUCCESS) { in audiopci_ak_write()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | exacct.c | 930 int flag, int wstat) in exacct_calculate_proc_usage() argument 972 pu->pu_wstat = wstat; in exacct_calculate_proc_usage() 1100 exacct_do_commit_proc(ac_info_t *ac_proc, proc_t *p, int wstat) in exacct_do_commit_proc() argument 1122 exacct_calculate_proc_usage(p, pu, mask, EW_FINAL, wstat); in exacct_do_commit_proc() 1148 exacct_commit_proc(proc_t *p, int wstat) in exacct_commit_proc() argument 1167 exacct_do_commit_proc(&acg->ac_proc, p, wstat); in exacct_commit_proc() 1170 exacct_do_commit_proc(&gacg->ac_proc, p, wstat); in exacct_commit_proc()
|
H A D | exit.c | 81 wstat(int code, int data) in wstat() function 558 rv = wstat(why, what); in proc_exit()
|
/titanic_44/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_signal.c | 564 wstat(int code, int status) in wstat() function 603 rval->sys_rval2 = wstat(info.si_code, info.si_status); in s10_wait()
|
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | bsd-cray.c | 720 int wstat; in cray_delete_tmpdir() local 736 while (waitpid(child, &wstat, 0) == -1 && errno == EINTR) in cray_delete_tmpdir()
|
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 1017 int wstat, count; in forkandexecve() local 1024 if (waitpid(pid, &wstat, 0) < 0) in forkandexecve() 1050 } else if (WIFSIGNALED(wstat)) in forkandexecve() 1054 else if (WIFEXITED(wstat) && WEXITSTATUS(wstat)) in forkandexecve()
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_cc.c | 1815 int wstat, estat; in dt_preproc() local 1898 } while (waitpid(pid, &wstat, 0) == -1 && errno == EINTR); in dt_preproc() 1903 dt_dprintf("%s returned exit status 0x%x\n", dtp->dt_cpp_path, wstat); in dt_preproc() 1904 estat = WIFEXITED(wstat) ? WEXITSTATUS(wstat) : -1; in dt_preproc()
|
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 231 bigwad->psinfo.pr_wstat = wstat(CLD_DUMPED, sig); in write_elfnotes()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | proc.h | 808 extern int wstat(int, int);
|
/titanic_44/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 2286 psp->pr_wstat = wstat(wcode, p->p_wdata); in prgetpsinfo() 2416 extern int wstat(int, int); /* needs a header file */ in prgetpsinfo32() 2420 psp->pr_wstat = wstat(wcode, p->p_wdata); in prgetpsinfo32()
|
H A D | prioctl.c | 1592 psp->pr_wstat = wstat(wcode, p->p_wdata); in oprgetpsinfo32() 3431 psp->pr_wstat = wstat(wcode, p->p_wdata); in oprgetpsinfo()
|
/titanic_44/usr/src/cmd/abi/appcert/etc/ |
H A D | etc.scoped.in | 1608 SCOPED_SYMBOL|SunOS_5.6|libucb.so.1|wstat
|