nodejs: start sketch

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-10-08 00:00:00 +00:00
parent 3c3deb14dc
commit a9856a47a8
3 changed files with 45 additions and 13 deletions

View File

@@ -0,0 +1,14 @@
/* Print each command line argument received, one per line.
*
* Good sanity check for user mode:
* https://cirosantilli.com/linux-kernel-module-cheat#qemu-user-mode-getting-started
*/
#include <stdio.h>
int main(int argc, char **argv) {
size_t i;
for (i = 0; i < (size_t)argc; ++i)
printf("%s\n", argv[i]);
return 0;
}