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

12

/macosx-10.10.1/Heimdal-398.1.2/appl/login/
H A Dutmpx_login.c71 pid_t mypid = getpid(); local
84 if (ut->ut_pid == mypid
98 newut.ut_pid = mypid;
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dclone.c58 mypid = getpid();
60 if (setsid() != mypid)
65 setpgrp(0L, mypid);
H A Dzpty.c331 mypid = getpid();
333 if (setsid() != mypid) {
339 setpgrp(0L, mypid);
348 attachtty(mypid);
417 mypid = 0; /* trick to ensure we _exit() */
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/include/
H A Djobs.h103 pid_t mypid; /* process id of shell */ member in struct:jobs
/macosx-10.10.1/adv_cmds-158/pkill/
H A Dpkill.c82 #define PSKIP(kp) ((pid_t)xpc_uint64_get_value(sysmon_row_get_value(kp, SYSMON_ATTR_PROC_PID)) == mypid || \
86 #define PSKIP(kp) ((kp)->ki_pid == mypid || \
134 static pid_t mypid; variable
395 mypid = getpid();
685 pid = mypid;
710 if (pid == mypid)
975 li->li_number = getsid(mypid);
/macosx-10.10.1/postfix-255/postfix/src/smtpstone/
H A Dqmqp-source.c160 static int mypid; variable
617 mypid = getpid();
622 sender, recipient, mydate, mypid, var_myhostname);
H A Dsmtp-source.c732 static int mypid; local
759 mypid = getpid();
765 mypid, vstream_fileno(session->stream), message_count, var_myhostname);
/macosx-10.10.1/shell_cmds-179/killall/
H A Dkillall.c194 pid_t mypid; local
359 mypid = getpid();
441 if (thispid == mypid) {
/macosx-10.10.1/tcl-105/tcl/tcl/library/platform/
H A Dshell.tcl164 set mypid [pid]
/macosx-10.10.1/tcl-105/tcl84/tcl/library/platform/
H A Dshell.tcl164 set mypid [pid]
/macosx-10.10.1/apache-793/httpd/server/
H A Dlog.c1425 pid_t mypid; local
1440 mypid = getpid();
1441 if (mypid != saved_pid
1467 apr_file_printf(pid_file, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
1469 saved_pid = mypid;
1473 pid_t *mypid)
1512 *mypid = strtol(buf, &endptr, 10);
/macosx-10.10.1/screen-22/screen/
H A Dtty.c1026 int mypid; local
1028 mypid = getpid();
1046 if (tcsetpgrp(fd, mypid))
1052 if (ioctl(fd, TIOCSPGRP, (char *)&mypid) != 0)
1056 if (setpgrp(fd, mypid))
H A Dtty.c.dist1026 int mypid;
1028 mypid = getpid();
1046 if (tcsetpgrp(fd, mypid))
1052 if (ioctl(fd, TIOCSPGRP, (char *)&mypid) != 0)
1056 if (setpgrp(fd, mypid))
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Dsysscript.tcl33 set mypid [pid]
56 puts "Beginning execution for $mypid"
66 set err [catch {error_check_good $mypid:dbenv [is_substr $dbenv env] 1} ret]
76 set err [catch {error_check_bad $mypid:dbopen $db_set($i) NULL} ret]
81 set err [catch {error_check_bad $mypid:dbopen [is_substr $db_set($i) \
101 set err [catch {error_check_good $mypid:txn_begin [is_substr $txn \
111 set err [catch {error_check_good $mypid:cursor_open \
128 $mypid:cursor_close \
135 set err [catch {error_check_good $mypid:txn_abort \
169 $mypid
[all...]
H A Dtestutils.tcl3380 set mypid [pid]
3381 if { $mypid < 0 } {
3382 set mypid [expr - $mypid]
3384 puts "PID: [pid] $mypid\n"
3385 return $mypid
/macosx-10.10.1/bash-94.1.2/bash-3.2/
H A Djobs.c1712 pid_t mypid; local
1714 mypid = getpid ();
1731 pipeline_pgrp = mypid;
1747 if (setpgid (mypid, pipeline_pgrp) < 0)
1748 sys_error ("child setpgid (%ld to %ld)", (long)mypid, (long)pipeline_pgrp);
1760 if (pipeline_pgrp == mypid)
1786 last_asynchronous_pid = mypid;
1788 else if (last_asynchronous_pid == mypid)
/macosx-10.10.1/apache-793/httpd/include/
H A Dhttp_log.h590 * @param mypid Pointer to pid_t (valid only if return APR_SUCCESS)
592 AP_DECLARE(apr_status_t) ap_read_pid(apr_pool_t *p, const char *filename, pid_t *mypid);
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Djobs.c552 tcsetpgrp(JOBTTY,job.mypid);
736 job.mypid = shp->gd->pid;
754 else if(getpid() != job.mypid)
848 if(tcsetpgrp(job.fd,job.mypid) !=0)
H A Djobs.c.orig552 tcsetpgrp(JOBTTY,job.mypid);
736 job.mypid = shp->gd->pid;
754 else if(getpid() != job.mypid)
848 if(tcsetpgrp(job.fd,job.mypid) !=0)
/macosx-10.10.1/zsh-61/zsh/Src/
H A Dinit.c582 mypid = (zlong)getpid();
937 mypid = (zlong) getpid();
H A Djobs.c2630 if (mypgrp == mypid) {
2647 if (mypgrp != mypid) {
2649 mypgrp = mypid;
H A Dhist.c2762 sprintf(pidbuf, "/pid-%ld/host-", (long)mypid);
2844 fprintf(out, "%ld %s\n", (long)mypid, getsparam("HOST"));
H A Dmath.c699 yyval.u.l = mypid;
/macosx-10.10.1/apache-793/httpd/support/
H A Dhtcacheclean.c1354 pid_t mypid = getpid(); local
1360 apr_file_printf(*pidfile, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/fileutil/
H A Dfileutil.tcl1826 set mypid [pid]

Completed in 271 milliseconds

12