Created
May 18, 2011 02:31
-
-
Save RobinStamer/977886 to your computer and use it in GitHub Desktop.
jslinux proof of function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ # 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