/* pid.c (emx+gcc) */

#include <stdio.h>
#include <process.h>

int main (void)
{
  int pid, ppid;

  pid = getpid ();
  ppid = getppid ();
  printf ("pid=%d\n", pid);
  printf ("ppid=%d\n", ppid);
  return 0;
}
