xv6-cs450/echo.c

14 lines
198 B
C
Raw Normal View History

#include "types.h"
#include "stat.h"
2006-07-29 00:33:07 +02:00
#include "user.h"
int
main(int argc, char *argv[])
{
int i;
for(i = 1; i < argc; i++)
printf(1, "%s%s", argv[i], i+1 < argc ? " " : "\n");
2006-07-29 00:33:07 +02:00
exit();
}