The same PID?

Spencer W. Thomas thomas at utah-gr.UUCP
Sat Aug 24 06:12:29 AEST 1985


>> (what happens when you get the same pid
>> as someone else did earlier?).

This can happen very easily:  Process X does a mktemp (or tmpnam), then
execs another program that also wants to mktemp (or tmpnam).  It's still
got the same PID!

-- 
=Spencer   ({ihnp4,decvax}!utah-cs!thomas, thomas at utah-cs.ARPA)
	"To feel at home, stay at home.  A foreign country is not designed
	 to make [one] comfortable.  It's designed to make its own people
	 comfortable."  Clifton Fadiman



More information about the Comp.lang.c mailing list