summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/getc.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3
index 7b81b6b..daae84c 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -91,6 +91,10 @@ from the stream pointed at by
If successful, these routines return the next requested object
from the
.Fa stream .
+Character values are returned as an
+.Li unsigned char
+converted to an
+.Li int .
If the stream is at end-of-file or a read error occurs,
the routines return
.Dv EOF .
OpenPOWER on IntegriCloud