Searched refs:mypid (Results 1 - 12 of 12) sorted by relevance

/openbsd-current/regress/bin/ps/
H A Dcommand.sh49 mypid=`printf %5d $$`
52 test_ps "" "" "-o command,ppid" "./shortsleep $mypid"
53 test_ps "" "" "-c -o command,ppid" "shortsleep $mypid"
54 test_ps "E=1" "" "-eo command,ppid" "E=1 ./shortsleep $mypid"
55 test_ps "E=1" "" "-ceo command,ppid" "E=1 shortsleep $mypid"
56 test_ps "long_argument" "" "-o command,ppid" "./shortsleep lon $mypid"
57 test_ps "long_argument" "" "-co command,ppid" "shortsleep $mypid"
58 test_ps "E=long" "" "-eo command,ppid" "E=long ./shortsl $mypid"
59 test_ps "E=long" "" "-ceo command,ppid" "E=long shortslee $mypid"
60 test_ps "E=1 L=very_long_var" "" "-eo command,ppid" "E=1 L=very_long_ $mypid"
[all...]
/openbsd-current/usr.sbin/amd/amd/
H A Damd.c78 pid_t mypid; /* Current process id */ variable
211 mypid = getpid();
316 snprintf(pid_fsname, sizeof(pid_fsname), "%s:(pid%ld)", hostname, (long)mypid);
H A Dxutil.c178 (long)mypid,
H A Dmap.c363 if (fp->fhh_pid != mypid)
496 fp->fhh_pid = mypid;
H A Dutil.c484 mypid = getpid();
H A Dafs_ops.c166 foreground ? (long)mypid : (long)getppid());
/openbsd-current/usr.bin/fstat/
H A Dfuser.c169 pid_t mypid = getpid(); local
175 if (sflg && fu->pid != mypid) {
/openbsd-current/usr.sbin/amd/include/
H A Dconfig.h51 extern pid_t mypid; /* Current process id */
/openbsd-current/usr.bin/pkill/
H A Dpkill.c93 pid_t mypid; variable
260 mypid = getpid();
300 if (kp->p_pid == mypid)
326 if (kp->p_pid == mypid)
436 if (kp->p_pid == mypid)
570 li->li_number = getsid(mypid);
/openbsd-current/usr.bin/make/
H A Djob.c123 static pid_t mypid; /* Used for printing debugging messages */ variable
486 (void)printf("[%ld] ", (long)mypid);
584 (long)mypid, job->node->name, job->cmd,
654 (long)mypid, job->node->name);
675 (long)mypid, job->node->name);
712 "allowing new jobs\n", (long)mypid,
840 mypid = getpid();
/openbsd-current/usr.sbin/nsd/
H A Dserver.c1800 pid_t mypid; local
1851 mypid = getpid();
1852 if(!write_socket(nsd->xfrd_listener->fd, &mypid, sizeof(mypid))) {
2400 pid_t mypid; local
2586 mypid = getpid();
2587 if(!write_socket(nsd->xfrd_listener->fd, &mypid, sizeof(mypid))) {
2703 pid_t mypid; local
2726 mypid
2806 pid_t mypid; local
[all...]
/openbsd-current/gnu/usr.bin/perl/vms/
H A Dvms.c3008 static unsigned long mypid; variable
3456 int myeof = (eof && (p->iosb.dvispec == mypid || p->iosb.dvispec == 0));
3609 int myeof = eof && ((p->iosb.dvispec == mypid)||(p->iosb.dvispec == 0));
3844 sprintf(file,"sys$scratch:perlpipe_%08.8x_%d.com",mypid,index);
3847 sprintf(file,"sys$login:perlpipe_%08.8x_%d.com",mypid,index);
3850 sprintf(file,"sys$disk:[]perlpipe_%08.8x_%d.com",mypid,index);
3856 sprintf(file,"/tmp/perlpipe_%08.8x_%d.com",mypid,index);
3859 sprintf(file,"/sys$login/perlpipe_%08.8x_%d.com",mypid,index);
3862 sprintf(file,"./perlpipe_%08.8x_%d.com",mypid,index);
4244 _ckvmssts_noperl(lib$getjpi(&pidcode,0,0,&mypid,
4794 unsigned long int pidcode = JPI$_PID, mypid; local
4838 pid,mypid); local
[all...]

Completed in 148 milliseconds