/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | setsid.c | 44 if (setsid_called != getpid()) { in setsid() 45 setsid_called = getpid(); in setsid() 58 if (real_setsid_called != getpid()) { in bc_setsid() 59 real_setsid_called = getpid(); in bc_setsid()
|
/titanic_50/usr/src/lib/libc/common/sys/ |
H A D | getpid.s | 37 ANSI_PRAGMA_WEAK(getpid,function) 41 SYSCALL_NOERROR_RVAL1(getpid) 43 SET_SIZE(getpid)
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/nfs/ |
H A D | tst.call.c | 109 "mkdir /tmp/nfsv4test.%d ; share /tmp/nfsv4test.%d", getpid(), in main() 110 getpid()); in main() 112 "unshare /tmp/nfsv4test.%d ; rmdir /tmp/nfsv4test.%d", getpid(), in main() 113 getpid()); in main()
|
/titanic_50/usr/src/lib/libsqlite/test/ |
H A D | crashtest1.c | 53 srand(getpid()); in do_some_sql() 66 printf("pid %d: cnt=%d\n", getpid(), cnt); in do_some_sql() 75 int parent = getpid(); in main()
|
H A D | threadtest2.c | 48 fprintf(stderr,"pid=%d. %s\n", getpid(), argv[0]); in check_callback() 65 fprintf(stderr,"pid=%d, Integrity check returns %d\n", getpid(), rc); in integrity_check() 81 if( cnt%1000==0 ) printf("pid=%d: %d\n", getpid(), cnt); in worker()
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/stop/ |
H A D | tst.stop2.d | 47 syscall::getpid:entry 54 syscall::getpid:return
|
H A D | tst.stop1.d | 47 syscall::getpid:entry 54 syscall::getpid:entry
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | mktemp.c | 47 extern int strlen(), access(), getpid(); 58 pid = getpid();
|
/titanic_50/usr/src/cmd/refer/ |
H A D | inv1.c | 105 sprintf(tmpa, "junk%di", getpid()); in main() 116 sprintf(tmpb, "junk%dj", getpid()); in main() 142 sprintf(tmpc, "junk%dk", getpid()); in main()
|
H A D | refer1.c | 117 sprintf(ofile, "/tmp/rj%db", getpid()); in main() 125 sprintf(tfile, "/tmp/rj%da", getpid()); in main()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | lckpwdf.c | 72 if (lck_pid != 0 && lck_pid != getpid()) { in lckpwdf() 82 lck_pid = getpid(); in lckpwdf()
|
/titanic_50/usr/src/lib/libtnfctl/ |
H A D | internal.c | 167 return (getpid()); in inprocess_getpid() 222 (void) sprintf(path, PROCFORMAT, (int) getpid()); in inprocess_loadobj_iter() 400 if (_tnfctl_externally_traced_pid == getpid()) { in _tnfctl_internal_getlock() 407 getpid())); in _tnfctl_internal_getlock()
|
/titanic_50/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 73 up->ut_pid = getpid(); 98 pid_t ownpid = getpid(); in checkut_line() 189 ownpid = getpid();
|
/titanic_50/usr/src/cmd/truss/ |
H A D | ipc.c | 182 gps->tpid[j] = getpid(); in procadd() 201 tpid = getpid(); in procdel() 226 tpid = getpid(); in lwptrace() 336 pid == getpid() || /* process opened truss's /proc file */ in checkproc()
|
/titanic_50/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdmsg.c | 70 if ((message_buf.pid = getpid()) != socket_pid) in send_cmd() 250 socket_pid = getpid(); in cfg_lockd_socket() 285 if (getpid() != socket_pid && initresult != 0) in cfg_lockd_init()
|
/titanic_50/usr/src/cmd/saf/ |
H A D | log.c | 114 timestamp, getpid(), msg); in log() 178 (void) sprintf(buf, "%s; %ld; %s\n", timestamp, getpid(), msg); in debug()
|
/titanic_50/usr/src/man/man2/ |
H A D | Makefile | 64 getpid.2 \ 331 getpgid.2 := LINKSRC = getpid.2 332 getpgrp.2 := LINKSRC = getpid.2 333 getppid.2 := LINKSRC = getpid.2
|
/titanic_50/usr/src/lib/libtnfprobe/ |
H A D | trace_init.c | 170 _tnfw_b_control->tnf_pid = getpid(); in _tnf_trace_initialize() 247 sched->pid = getpid(); in _tnf_sched_init()
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | audit_krb5kdc.c | 88 aug_save_pid(getpid()); /* process ID */ in common_audit() 89 aug_save_asid(getpid()); /* session ID */ in common_audit()
|
H A D | audit_kadmind.c | 129 aug_save_pid(getpid()); /* process ID */ in common_audit() 130 aug_save_asid(getpid()); /* session ID */ in common_audit()
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | logger.c | 180 pid = getpid (); in logger_emit() 224 pid = getpid (); in logger_forward_debug()
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | clnt_simple.c | 121 rcp->pid == getpid() && in rpc_call() 135 rcp->pid = getpid(); in rpc_call()
|
/titanic_50/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 190 EV_PID(scp) = getpid(); in sysevent_evc_bind() 219 if (EV_PID(scp) == getpid()) { in sysevent_evc_unbind() 279 if (EV_PID(scp) != getpid()) { in sysevent_evc_publish() 462 if (EV_PID(scp) != getpid()) { in sysevent_evc_subscribe_cmn() 702 if (EV_PID(scp) != getpid()) in sysevent_evc_unsubscribe() 788 if (EV_PID(scp) != getpid()) { in sysevent_evc_control()
|
/titanic_50/usr/src/cmd/auditreduce/ |
H A D | main.c | 105 root_pid = getpid(); /* know who is root process for error */ in main() 131 if (getpid() == root_pid) { in main() 142 if (getpid() == root_pid) { in main() 270 pcbn->pcb_procno = getpid(); in mfork() 1068 if (getpid() == root_pid) { in int_handler()
|
/titanic_50/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 90 getpid(), signo); in quit_daemon() 184 i = sprintf(pid_str, "%d\n", getpid()); in init_daemon()
|