aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/heart_SUITE_data/simple_echo.c
blob: a92bb8af957fc8f488b12799e3960133d2374add (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(void){
  int x;
  while((x = getchar()) != EOF){
    putchar(x);
    fflush(stdout);
  }
  return 0;
}