Searched refs:pid (Results 351 - 375 of 1046) sorted by relevance

<<11121314151617181920>>

/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mprotect.c178 pid_t pid; local
219 pid = fork();
220 ATF_REQUIRE(pid >= 0);
222 if (pid == 0) {
321 pid_t pid; local
336 pid = fork();
337 ATF_REQUIRE(pid >= 0);
339 if (pid == 0) {
H A Dt_poll.c101 pid_t pid; local
106 pid = fork();
107 ATF_REQUIRE(pid >= 0);
109 if (pid == 0) {
116 pid = fork();
117 ATF_REQUIRE(pid >= 0);
119 if (pid == 0) {
126 pid = fork();
127 ATF_REQUIRE( pid >= 0);
129 if (pid
[all...]
/freebsd-11.0-release/contrib/bsnmp/snmpd/
H A Dsnmpd.sh35 PID=/var/run/snmpd.pid
43 echo "snmpd already running -- pid `cat ${PID}`" >/dev/stderr
63 echo "stale pid file -- removing" >/dev/stderr
74 echo "snmpd pid `cat ${PID}`"
76 echo "stale pid file -- pid `cat ${PID}`"
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/inline/
H A Dtst.InlineKinds.d39 inline int i2 = pid != 0; /* expression involving a variable */
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.d38 pid$1:a.out:waiting:entry
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/
H A Dtst.egid.ksh80 groupid=`ps -x -o pid,egid | grep "$$ " | awk '{print $2}' 2>/dev/null`
82 print -u2 "unable to get uid of the current process with pid = $$"
H A Dtst.euid.ksh72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
H A Dtst.gid.ksh72 groupid=`ps -x -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
H A Dtst.projid.ksh72 projectid=`ps -x -o pid,projid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
H A Dtst.sid.ksh72 sessionid=`ps -x -o pid,sid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get sid of the current process with pid = $$"
H A Dtst.taskid.ksh72 taskidval=`ps -x -o pid,taskid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
H A Dtst.uid.ksh72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null`
74 print -u2 "unable to get uid of the current process with pid = $$"
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/
H A Dtst.entryreturn.ksh99 /progenyof(\$pid)/
105 /progenyof(\$pid)/
/freebsd-11.0-release/cddl/usr.sbin/dtrace/tests/common/scripting/
H A DMakefile16 err.D_SYNTAX.pid.d \
29 tst.pid.d \
/freebsd-11.0-release/lib/libdpv/
H A Dutil.c53 * at by `pid'. Returns a file descriptor (int) suitable for writing data to
60 shell_spawn_pipecmd(const char *cmd, const char *label, pid_t *pid) argument
101 error = posix_spawnp(pid, shellcmd, &action,
/freebsd-11.0-release/usr.sbin/nfscbd/
H A Dnfscbd.c109 pid_t pid; local
202 pid = fork();
203 if (pid < 0) {
206 } else if (pid > 0) {
207 children = pid;
334 pid_t pid; local
336 while ((pid = wait3(NULL, WNOHANG, NULL)) > 0) {
337 if (pid == children)
/freebsd-11.0-release/crypto/heimdal/lib/ipc/
H A Dcommon.c46 pid_t pid; member in struct:heim_icred
71 return cred->pid;
82 _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred *cred) argument
89 (*cred)->pid = pid;
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/
H A DPseudoTerminal.cpp219 // In the parent process when a valid pid is returned, the master file
234 // in the parent process: the pid of the child, or -1 if fork fails
242 pid_t pid = LLDB_INVALID_PROCESS_ID; local
250 pid = ::fork ();
251 if (pid < 0)
257 else if (pid == 0)
300 // Do nothing and let the pid get returned!
304 return pid;
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_random.c198 pid_t pid; member in struct:__anon1847
215 rdat.pid = getpid();
233 pid_t pid = getpid(); local
235 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) {
236 arc4_stir_pid = pid;
/freebsd-11.0-release/lib/libc/tests/gen/
H A Dfmtmsg_test.c164 pid_t pid, wpid; local
172 pid = fork();
173 if (pid == -1)
175 if (pid == 0) {
211 while ((wpid = waitpid(pid, &status, 0)) == -1 && errno == EINTR)
/freebsd-11.0-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c173 pid_t pid; local
176 if (!(pid = fork())) {
188 pid = waitpid(pid, &pstat, 0);
189 if (pid == -1 || !WIFEXITED(pstat) || WEXITSTATUS(pstat) != 0)
/freebsd-11.0-release/usr.bin/apply/
H A Dapply.c227 pid_t pid; local
235 switch(pid = vfork()) {
246 pid = waitpid(pid, &pstat, 0);
250 return(pid == -1 ? -1 : pstat);
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_shell.c92 pid_t pid; local
119 switch (pid = vfork()) {
135 return (proc_wait(sp, (long)pid, cmd, 0, 0));
153 proc_wait(SCR *sp, long int pid, const char *cmd, int silent, int okpipe) argument
162 if (waitpid((pid_t)pid, &pstat, 0) != -1)
/freebsd-11.0-release/usr.bin/numactl/
H A Dnumactl.c51 { "pid", required_argument, NULL, 'p' },
123 printf("usage: numactl --get [--tid/-t <tid>] [--pid/-p <pid>]\n");
124 printf(" numactl --set [--tid=<tid>] [--pid/-p<pid>]\n");
158 pid_t pid; local
173 pid = -1;
202 pid = atoi(optarg);
243 } else if (pid != -1) {
245 id = pid;
[all...]
/freebsd-11.0-release/contrib/atf/atf-c/
H A Dutils.c50 * \param pid PID of the process that will write to the file.
54 init_out_filename(atf_dynstr_t *name, const pid_t pid, const char *suffix, argument
60 (int)pid, suffix);
254 const pid_t pid = fork(); local
255 if (pid == -1)
258 if (pid == 0) {
271 return pid;
409 * \param pid The process to be waited for. Must have been started by
415 atf_utils_wait(const pid_t pid, const int exitstatus, const char *expout, argument
419 ATF_REQUIRE(waitpid(pid,
[all...]

Completed in 235 milliseconds

<<11121314151617181920>>