Newsgroups: comp.std.c
Path: 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

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
