Andreas Schwab wrote: > getpid does not return the correct result after vfork: It doesn't have to. You are not allowed to call anything but _exit or one of the exec functions. -- â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â