Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

tcc -run demo

By: a guest on Aug 13th, 2012  |  syntax: None  |  size: 0.43 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. bash-4.2$ ls -la
  2. total 31
  3. drwxr-xr-x   2 root root    72 Aug 13 13:27 ./
  4. drwxr-xr-x 278 root root 27232 Aug 13 13:27 ../
  5. -rw-r--r--   1 root root   316 Aug 13 12:58 fork.c
  6.  
  7. bash-4.2$ tcc -run fork.c
  8. Hello fork()
  9. I'm the dad
  10. I'm the child process
  11.  
  12. bash-4.2$ ls -la
  13. total 31
  14. drwxr-xr-x   2 root root    72 Aug 13 13:27 ./
  15. drwxr-xr-x 278 root root 27232 Aug 13 13:27 ../
  16. -rw-r--r--   1 root root   316 Aug 13 12:58 fork.c