Exemple #1
0
int pong (char * args)
{
   int argc=1;
   char *argv[256];
   char *str1;
   argv[0] = (char*) os_strdup ("pong");
   str1 = strtok(args, " ");
   while (str1)
   {
      argv[argc] = (char*) os_strdup (str1);
      argc++;
      str1 = strtok(NULL, " ");
   }
   return pong_main (argc, argv);
}
Exemple #2
0
int main(int argc, char** argv)
{
    pong_main();

    return 0;
}
Exemple #3
0
int main() {
  pong_main();
}