scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0093-system.c (166B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 
      4 /*
      5 output:
      6 testing
      7 hello
      8 done
      9 end:
     10 */
     11 
     12 int
     13 main(void)
     14 {
     15 	puts("testing");
     16 	system("echo hello");
     17 	puts("done");
     18 
     19 	return 0;
     20 }