This repository has been archived on 2021-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
OS/pintos-env/pintos/examples/echo.c

14 lines
187 B
C
Executable file

#include <stdio.h>
#include <syscall.h>
int
main (int argc, char **argv)
{
int i;
for (i = 0; i < argc; i++)
printf ("%s ", argv[i]);
printf ("\n");
return EXIT_SUCCESS;
}