Clarify that the value of getc() etc. is an unsigned char converted

to an int (as per the C standard) i.e. it can be passed straight to
isalpha() etc.

Approved by:	dwmalone (mentor)
MFC after:	3 days
This commit is contained in:
fanf 2002-05-15 16:55:58 +00:00
parent 3609bfaab7
commit 578642c931

View File

@ -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 .