diff options
Diffstat (limited to 'lib/kernel/test/os_SUITE_data/my_fds.c')
-rw-r--r-- | lib/kernel/test/os_SUITE_data/my_fds.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/kernel/test/os_SUITE_data/my_fds.c b/lib/kernel/test/os_SUITE_data/my_fds.c new file mode 100644 index 0000000000..704a4d1e1d --- /dev/null +++ b/lib/kernel/test/os_SUITE_data/my_fds.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +int +main(int argc, char** argv) +{ + char buff[1]; + int res = read(stdin, buff, 1); + printf("%d", res); +} |