Article View: comp.std.c
Article #2455Re: Frustrated trying to be portable
From: Henry Spencer
Date: Wed, 20 Feb 1991 17:53
Date: Wed, 20 Feb 1991 17:53
12 lines
1102 bytes
1102 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... I haven't studied <stdio.h>, but you need to look more closely at <string.h> before making such statements. :-) It is not possible to implement memmove(), in particular, in portable C. (Hint: think about pointer comparisons.) -- "Read the OSI protocol specifications? | Henry Spencer @ U of Toronto Zoology I can't even *lift* them!" | henry@zoo.toronto.edu utzoo!henry
Technical Details
Message-ID:
<1991Feb20.175318.28496@zoo.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <15240@smoke.brl.mil> <4188@skye.ed.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Frustrated trying to be portable Message-ID: <1991Feb20.175318.28496@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <15240@smoke.brl.mil> <4188@skye.ed.ac.uk> Date: Wed, 20 Feb 1991 17:53:18 GMT