getpid implemented