/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.linkmap.ksh | 31 pid\$target:LM1\`ld.so.1:strstr:entry, 32 pid\$target:libc.so.1:strstr:entry
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/ |
H A D | tst.retlist.ksh | 41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l`
|
/freebsd-13-stable/contrib/apr/threadproc/unix/ |
H A D | procsup.c | 91 int waitpid(pid_t pid, int *statusp, int options) argument 94 if (kill(pid, 0) == -1) { 98 while (((tmp_pid = wait3(statusp, options, 0)) != pid) && 99 (tmp_pid != -1) && (tmp_pid != 0) && (pid != -1))
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
H A D | zpool_wait_initialize_basic.ksh | 35 kill_if_running $pid 45 typeset pid default_chunk_sz 59 pid=$! 61 check_while_waiting $pid "is_vdev_initializing $TESTPOOL"
|
H A D | zpool_wait_trim_basic.ksh | 35 kill_if_running $pid 53 typeset pid 64 pid=$! 66 check_while_waiting $pid "trim_in_progress $TESTPOOL"
|
/freebsd-13-stable/contrib/opie/libopie/ |
H A D | unlock.c | 47 int fh, rval = -1, pid, t, i; variable 75 if (!(pid = atoi(buffer))) 81 if ((pid != getpid()) && (time(0) <= OPIE_LOCK_TIMEOUT + t) && (!kill(pid, 0))) {
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/termios/ |
H A D | t_tcsetpgrp.c | 51 pid_t pid; local 56 pid = fork(); 57 ATF_REQUIRE(pid >= 0); 59 if (pid == 0) {
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | pid.h | 47 #define pid_task(pid, type) ({ \ 50 __ts = linux_pid_task(pid); \ 54 #define get_pid_task(pid, type) ({ \ 57 __ts = linux_get_pid_task(pid); \
|
/freebsd-13-stable/contrib/kyua/utils/process/ |
H A D | operations.cpp | 79 const pid_t pid = ::wait(&stat_loc); local 80 if (pid == -1) { 85 return process::status(pid, stat_loc); 91 /// \param pid The identifier of the process to wait for. 97 safe_waitpid(const pid_t pid) argument 99 LD(F("Waiting for pid=%s") % pid); 101 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) { 103 throw process::system_error(F("Failed to wait for PID %s") % pid, 106 return process::status(pid, stat_lo 248 wait(const int pid) argument [all...] |
/freebsd-13-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | udhcpd-p2p.conf | 62 # The location of the pid file 63 pidfile /var/run/udhcpd-wlan2.pid #default: /var/run/udhcpd.pid
|
/freebsd-13-stable/lib/csu/tests/ |
H A D | fini_test.c | 73 pid_t pid, wpid; local 76 pid = fork(); 77 switch(pid) { 84 while ((wpid = waitpid(pid, &status, 0)) == -1 && 115 pid_t pid, wpid; local 118 pid = fork(); 119 switch(pid) { 126 while ((wpid = waitpid(pid, &status, 0)) == -1 &&
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | waitpid.c | 48 __waitpid(pid_t pid, int *istat, int options) argument 52 __libc_interposing[INTERPOS_wait4])(pid, istat, options, NULL));
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | err.cpcvscpustatpart2.ksh | 63 pid=$! 69 kill $pid
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | rtime.d | 48 printf("%d/%d spent %d nsecs in read(2)\n", pid,
|
H A D | kstat.d | 40 pid$1:libkstat:kstat_data_lookup:entry 45 pid$1:libkstat:kstat_data_lookup:return 53 pid$1:libkstat:kstat_data_lookup:return
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.d | 38 /pid == $1 && args[0] == SIGUSR1 && sent/
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/ |
H A D | tst.args.d | 36 /pid == $1 && arg0 == 0 && arg1 == 1 && arg2 == 2 && arg3 == 3 &&
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_assert.c | 74 pid_t pid; local 77 pid = fork(); 78 ATF_REQUIRE(pid >= 0); 80 if (pid == 0) { 112 pid_t pid; local 115 pid = fork(); 116 ATF_REQUIRE(pid >= 0); 118 if (pid == 0) {
|
/freebsd-13-stable/usr.bin/top/ |
H A D | utils.h | 24 int find_pid(pid_t pid);
|
/freebsd-13-stable/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 66 int listenfd, connfd, pid; local 98 pid = fork(); 99 if (pid == -1) 101 if (pid != 0) { 113 (void)kill(pid, SIGTERM); 118 (void)kill(pid, SIGTERM); 122 (void)kill(pid, SIGTERM); 127 (void)kill(pid, SIGTERM);
|
/freebsd-13-stable/lib/libc/stdlib/ |
H A D | system.c | 63 pid_t pid, savedpid; local 76 switch(pid = vfork()) { 103 savedpid = pid; 105 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0); 106 } while (pid == -1 && errno == EINTR); 110 return (pid == -1 ? -1 : pstat);
|
/freebsd-13-stable/libexec/rc/ |
H A D | rc.resume | 40 if [ -r /var/run/rc.suspend.pid ]; then 41 kill -9 `cat /var/run/rc.suspend.pid` 42 /bin/rm -f /var/run/rc.suspend.pid
|
H A D | rc.suspend | 40 if [ -r /var/run/rc.suspend.pid ]; then 44 echo $$ 2> /dev/null > /var/run/rc.suspend.pid 59 /bin/rm -f /var/run/rc.suspend.pid
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.d | 33 /pid == $1 && arg0 == -1u/ 39 /pid == $1 && arg0 != -1u && arg1 == 0 && arg2 == NULL/ 51 /pid == $1/
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.args1.d | 32 * SECTION: pid provider 46 /pid == $1/ 56 pid$1:a.out:go:entry 63 pid$1:a.out:go:entry
|