- import from http://coderepos.org/share/browser/lang/c/echo_samples