get process id
Kenneth Brody
kenbrody at bestweb.net
Sun Oct 10 13:15:01 PDT 2004
Fairlight wrote:
[...]]
> Keeping in mind that the PID itself is not unique unless bound to a date
> and time, since PID-space recycles at around 32000-ish on most 32bit
> operating systems, and even some 64bit ones (Solaris 7 and 8 come to mind).
Well, it's unique during its lifetime. Depending on the purpose, this
may be sufficient.
> Ken, does USER directly exec() or does it use system()?
system() and popen() don't allow the two-way pipe that USER needs, so
filePro uses fork()/exec() here.
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list