Skip to content

Instantly share code, notes, and snippets.

@RobinStamer
Created May 18, 2011 02:31
Show Gist options
  • Select an option

  • Save RobinStamer/977886 to your computer and use it in GitHub Desktop.

Select an option

Save RobinStamer/977886 to your computer and use it in GitHub Desktop.
jslinux proof of function
~ # cat tmp.c
#include <tcclib.h>
int main(int argc, char ** argv) {
int i;
for (i = 0; i < argc; ++i) {
printf("[%02d] %s\n", i, argv[i]);
}
return 0;
}
~ # tcc -o tmp tmp.c
~ # ./tmp asdf foo bar
[00] ./tmp
[01] asdf
[02] foo
[03] bar
~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment