From 63d2f38ab6e78122113817890d4e8ed6f1912cf3 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 8 Sep 2021 14:52:41 +0200 Subject: lib/libc/README.txt: Fix "cannel" typo It should be "channel" instead of "cannel", obviously. Signed-off-by: Thomas Huth Signed-off-by: Alexey Kardashevskiy --- lib/libc/README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/README.txt b/lib/libc/README.txt index eaafdf4..c2b246a 100644 --- a/lib/libc/README.txt +++ b/lib/libc/README.txt @@ -29,7 +29,7 @@ library: The stdio functions will print their output to the stdout channel which is assigned with the file descriptor 1 by default. Note that the stdio functions will not use open() before calling write(), so if the stdout - cannel needs to be opened first, you should do that in your start-up code + channel needs to be opened first, you should do that in your start-up code before using the libc functions for the first time. 3) Before you can use the stdio input functions like scanf() and the @@ -44,6 +44,6 @@ library: The stdio functions will get their input from the stdin channel which is assigned with the file descriptor 0 by default. Note that the stdio functions will not use open() before calling read(), so if the stdin - cannel needs to be opened first, you should do that in your start-up code + channel needs to be opened first, you should do that in your start-up code before using the libc functions for the first time. -- cgit v1.1