fork(6) download
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <stdlib.h>
  4.  
  5. static void test(char *command)
  6. {
  7. char* output = strtok(command, " ");
  8. printf("%s\n", output);
  9. }
  10.  
  11. int main(void) {
  12.  
  13. test("set_rate 200");
  14.  
  15. return 0;
  16. }
  17.  
Runtime error #stdin #stdout 0s 2244KB
stdin
Standard input is empty
stdout
Standard output is empty