Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.lang.c Subject: Re: Re: C portability between non-UNIX o Message-ID: <5713@brl-tgr.ARPA> Date: Sun, 11-Nov-84 15:20:25 EST Article-I.D.: brl-tgr.5713 Posted: Sun Nov 11 15:20:25 1984 Date-Received: Tue, 13-Nov-84 01:17:52 EST References: <1803@inmet.UUCP> Organization: Ballistic Research Lab Lines: 10 > > int isalpha(int); > int tolower(int); > /* etc. */ I have always thought that there should be a tohostc() macro to convert an ASCII character back to native host character set (converse of toascii()). Also, todigit() to map 3 to '3' and tonumber() to map '3' to 3. In other words, macros to support writing PORTABLE atoi() functions etc.