xv6-65oo2/user/echo.c

14 lines
214 B
C
Raw Normal View History

#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"
2006-07-28 22:33:07 +00:00
int
main(int argc, char *argv[])
{
int i;
for(i = 1; i < argc; i++)
2019-08-27 17:13:03 +00:00
printf("%s%s", argv[i], i+1 < argc ? " " : "\n");
2006-07-28 22:33:07 +00:00
exit();
}