Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A Dsetsid.c44 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 Dgetpid.s37 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 Dtst.call.c109 "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 Dcrashtest1.c53 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 Dthreadtest2.c48 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 Dtst.stop2.d47 syscall::getpid:entry
54 syscall::getpid:return
H A Dtst.stop1.d47 syscall::getpid:entry
54 syscall::getpid:entry
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dmktemp.c47 extern int strlen(), access(), getpid();
58 pid = getpid();
/titanic_50/usr/src/cmd/refer/
H A Dinv1.c105 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 Drefer1.c117 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 Dlckpwdf.c72 if (lck_pid != 0 && lck_pid != getpid()) { in lckpwdf()
82 lck_pid = getpid(); in lckpwdf()
/titanic_50/usr/src/lib/libtnfctl/
H A Dinternal.c167 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 Dtmutmp.c73 up->ut_pid = getpid();
98 pid_t ownpid = getpid(); in checkut_line()
189 ownpid = getpid();
/titanic_50/usr/src/cmd/truss/
H A Dipc.c182 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 Dcfg_lockdmsg.c70 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 Dlog.c114 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 DMakefile64 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 Dtrace_init.c170 _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 Daudit_krb5kdc.c88 aug_save_pid(getpid()); /* process ID */ in common_audit()
89 aug_save_asid(getpid()); /* session ID */ in common_audit()
H A Daudit_kadmind.c129 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 Dlogger.c180 pid = getpid (); in logger_emit()
224 pid = getpid (); in logger_forward_debug()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c121 rcp->pid == getpid() && in rpc_call()
135 rcp->pid = getpid(); in rpc_call()
/titanic_50/usr/src/lib/libsysevent/
H A Dlibevchannel.c190 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 Dmain.c105 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 Doplhpd.c90 getpid(), signo); in quit_daemon()
184 i = sprintf(pid_str, "%d\n", getpid()); in init_daemon()

12345678910>>...20