imcplugin demo: Extend to support stat() call
[nativeclient.git] / imcplugin / tests / printargs.c
blob96de737d0a7476260d0e4e880d2c25be3d2bb769
2 #include <stdio.h>
3 #include <stdlib.h>
6 int main(int argc, char* argv[])
8 int i;
9 printf("NaCl module started\n");
10 printf("argc = %i\n", argc);
11 for(i = 0; i < argc; i++)
12 printf("argv[%i] = \"%s\"\n", i, argv[i]);
13 printf("NACL_FD = %s\n", getenv("NACL_FD"));
14 printf("END\n");
15 return 0;