Does any C standard header include ASCII aliases? -
would avoid doing things like,
#define esc (27) #define del (127) edit: looking either c standard header or posix c header this.
sadly, no. c described abstractly in terms of execution character set , implementation character set, both of may vary. characters uses not complete set offered ascii. in fact version of ascii current @ time of first c compilers didn't have '@' yet.
searching "posix character set" turned up. http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap06.html
Comments
Post a Comment