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:
parent
02f1d90bda
commit
cfad593dbd
@ -91,6 +91,10 @@ from the stream pointed at by
|
|||||||
If successful, these routines return the next requested object
|
If successful, these routines return the next requested object
|
||||||
from the
|
from the
|
||||||
.Fa stream .
|
.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,
|
If the stream is at end-of-file or a read error occurs,
|
||||||
the routines return
|
the routines return
|
||||||
.Dv EOF .
|
.Dv EOF .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user