repo.or.cz
/
nativeclient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
imcplugin demo: Extend to support stat() call
[nativeclient.git]
/
imcplugin
/
tests
/
printargs.c
blob
96de737d0a7476260d0e4e880d2c25be3d2bb769
1
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
6
int
main
(
int
argc
,
char
*
argv
[])
7
{
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
;
16
}