referencing beyond the end of an array

Henry Spencer henry at utzoo.UUCP
Sun Jan 13 10:52:44 AEST 1985


Those of you who remember the public-domain string(3) that I posted to
the net a while ago may have noticed that it took great pains to avoid
ever moving a pointer beyond the end (either end) of a string and then
having to move it back.  Care on this point is advisable if you want
your code to be portable to segmented machines.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list