set the prototype for function getpidbyname