summaryrefslogtreecommitdiffstats
path: root/src/examples/echo.c
blob: 1b136f21cd748e5c2563d9418b41f09c3303e01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
}