Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site datagen.UUCP Path: utzoo!linus!philabs!cmcl2!rocky2!datagen!mrm From: mrm@datagen.UUCP Newsgroups: net.unix Subject: Re: rindex() Message-ID: <29@datagen.UUCP> Date: Mon, 26-Sep-83 03:36:03 EDT Article-I.D.: datagen.29 Posted: Mon Sep 26 03:36:03 1983 Date-Received: Wed, 28-Sep-83 04:55:41 EDT Organization: Data General Dist. Systems, Westborough, MA Lines: 13 rindex() is the v7 name, whereas strrchr() is the III/V name (renamed so that the string routines would all begin with `str'). They return exactly the same information (ie, address of the last occurrence of a character within a string or NULL if the character does not occur). If you want to not change the v7 source, you can do: cc -Drindex=strrchr ... which maps all occurrences of `rindex' outside of strings to `strrchr'. Michael Meissner Data General Corporation ...{allegra decvax!ittvax, rocky2}!datagen!mrm