Article View: comp.std.c
Article #2451Re: Frustrated trying to be portable
From: Doug Gwyn
Date: Wed, 20 Feb 1991 00:20
Date: Wed, 20 Feb 1991 00:20
17 lines
1559 bytes
1559 bytes
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 <string.h> and <stdio.h> can, whereas those in ><stdarg.h> 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.
Technical Details
Message-ID:
<15258@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!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!gwynReferences:
<1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <15240@smoke.brl.mil> <4188@skye.ed.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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