looking for C code for PING untility

Hi All
Iam looking to find the source code for the PING utility in QNX , I want to add the ping function in my code , not just use it from shell command.

Thanks

what is u r exact requirement? do you want to test n/w connection to another system using ping from the program??

I am not sure if qnx supplies the PING source code , maybe you can look it up on open source forums. However if your intention is just to ping from your program you could do a system() call or maybe spawn off a process to do this. Hope it helps