/* Call ping to get the round trip time */ #include "smrt.h" #include #include #include #include #include #include /***** FUNCTION PROTOTYPES *****/ void HoldScreen1(void); /***** PROGRAM's MAIN DRIVER *****/ main(argc,argv) int argc; char *argv[]; { int i=0; while (i<120) { //BprobeCall(argv[1]); PingCall(argv[1]); system("sleep 900"); i++; } // end of while HoldScreen1(); return 1; } /* end main() */ /***** FUNCTION DEFINITIONS ******/ /* Prompts the user to press Enter to continue program execution. */ void HoldScreen1(void) { int dummy; printf("\nPress Enter to continue: "); fflush(stdin); dummy = getchar(); printf("%c\n",dummy); } /* HoldScreen */