(getppid): Look for EM_PARENT_PROCESS_ID.

This commit is contained in:
Geoff Voelker 1998-05-30 23:37:12 +00:00
parent 35e9c644ca
commit 97e3c91bbd

View file

@ -58,7 +58,7 @@ getppid(void)
char *ppid;
DWORD result;
ppid = getenv ("__PARENT_PROCESS_ID");
ppid = getenv ("EM_PARENT_PROCESS_ID");
if (!ppid)
{
printf("no pid.\n");