diff options
Diffstat (limited to 'src/examples/lab1test2.c')
| -rw-r--r-- | src/examples/lab1test2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/lab1test2.c b/src/examples/lab1test2.c index 4438025..e86e3b6 100644 --- a/src/examples/lab1test2.c +++ b/src/examples/lab1test2.c @@ -191,6 +191,7 @@ int main(void) printf("Type 10 characters: "); bytes_read = read(STDIN_FILENO, sbuf, READ_CONSOLE_COUNT); printf("\n"); + printf("You have typed: ‰s\n", sbuf); if (bytes_read != READ_CONSOLE_COUNT) { ERROR("Failed to read %d characters from console, read %d.\n", READ_CONSOLE_COUNT, bytes_read); |
