tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: using the interfaces in ctype.h
> BTW, can anyone say with any degree of certainty which, if any, C
> implementations (hosted) will extend the sign when the value of a
> "char *" pointer is assigned to a plain "int"? I.e. in "int i = *s;"
Well, AIUI, the answer is "those where char is chosen to match signed
char rather than unsigned char", at least for values of "C" that
actually conform to the spec. (Well, modulo wording quibbles about
your question.)
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents.montreal.qc.ca@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index