Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site root44.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!stl!stc!root44!addw From: addw@root44.UUCP (Alain Williams) Newsgroups: net.lang.c Subject: Re: A programming hint Message-ID: <5421@root44.UUCP> Date: Tue, 23-Jul-85 07:09:10 EDT Article-I.D.: root44.5421 Posted: Tue Jul 23 07:09:10 1985 Date-Received: Tue, 30-Jul-85 06:31:17 EDT Organization: Root Computers Ltd., London Lines: 22 Xpath: stc stc-a I have read (some) of the plethora of articles on overlapping moves. The consensus is that it working is implementation dependent. This is unfortunate as I do this quite alot, it works on all my local machines. If your machine will NOT work in the way I expect I would be grateful if you could tell me. If there is sufficient interest I will sumaraise the replies. (To remind, the question is that will the following code fill fred[] with spaces: char fred[10]; fred[0] = ' '; strncpy(&fred[1], &fred[0], 9); ) -- Alain Williams, Root Computers Ltd, London, England. !{hrc63|qmc-cs|edai|kcl-cs|ukc|glasgow|ist|jmccfr|west44 ubu|rlvd|pmllab|stc}!root44!addw {unisoft|deccra}!root44!addw root44!{rootcl|rootis}!addw