diff options
author | Lukas Larsson <[email protected]> | 2016-09-05 17:08:51 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-09-05 17:08:51 +0200 |
commit | cf88d37535e889adb5252c4110d53f5a4fd7f5b9 (patch) | |
tree | 5a2d74e98beb2963bb33601056a0aadc13625c80 /lib/kernel/test/os_SUITE_data/my_fds.c | |
parent | 1687a793055708854911fd466b4eb5bbb32e2a70 (diff) | |
parent | bb8d105fd6d5b09097dc64b341d63f0f8d7e8906 (diff) | |
download | otp-cf88d37535e889adb5252c4110d53f5a4fd7f5b9.tar.gz otp-cf88d37535e889adb5252c4110d53f5a4fd7f5b9.tar.bz2 otp-cf88d37535e889adb5252c4110d53f5a4fd7f5b9.zip |
Merge branch 'maint'
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); +} |