--On Tuesday, February 18, 2003 10:13 AM +0100 Damir Dezeljin <[EMAIL PROTECTED]> wrote:

Is there a way to get a PID of the current process? I checked the
docs, however I didn't find a function that fit my needs (hehe ...
maybe I missed something ;) ).

You can call getpid(). I believe that's fairly portable. You can do:

apr_os_proc_t pid = getpid();

If getpid() isn't really portable, we could add wrappers. Patches welcomed. -- justin

Reply via email to