Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Frustrated trying to be portable Message-ID: <15258@smoke.brl.mil> Date: 20 Feb 91 00:20:18 GMT References: <1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <15240@smoke.brl.mil> <4188@skye.ed.ac.uk> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 17 In article <4188@skye.ed.ac.uk> richard@aiai.UUCP (Richard Tobin) writes: >As far as I can tell, some of the library functions described in the >standard can be implemented portably (requiring in some cases a >particular operating system), whereas some others can't. For example >the functions from and can, whereas those in > can't. Requiring a particular operating system is hardly a "portable" implementation. It is not clear to me that ANY of the standard library packages specific to a hosted environment can be implemented perfectly portably. In any case, the question was about compilers that apparently were advertised as supporting "ANSI C". Hosted vs. freestanding conforming implementations are the only two sensible categories that chould be so advertised. An implementation of either category can of course include additional functionality beyond that specified for the category in the C standard, subject only to some fairly mild constraints.