projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make tests public. Rewrite most tests. Add tests.
[pintos-anon]
/
src
/
examples
/
echo.c
diff --git a/src/examples/echo.c
b/src/examples/echo.c
new file mode 100644
(file)
index 0000000..
c0ecd00
--- /dev/null
+++ b/
src/examples/echo.c
@@ -0,0
+1,13
@@
+#include <stdio.h>
+
+int
+main (int argc, char **argv)
+{
+ int i;
+
+ for (i = 0; i < argc; i++)
+ printf ("%s ", argv[i]);
+ printf ("\n");
+
+ return 0;
+}