Final version 1.02

Repaired warning on OpenSolaris
pid,ppid,pgrp on OpenSolaris are long, retype to int