Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.lang.c Subject: index/strchr and rindex/strrchr - READ THIS Message-ID: <2499@sun.uucp> Date: Sat, 27-Jul-85 05:56:59 EDT Article-I.D.: sun.2499 Posted: Sat Jul 27 05:56:59 1985 Date-Received: Sun, 28-Jul-85 06:20:53 EDT References: <652@hou2e.UUCP> Organization: Sun Microsystems, Inc. Lines: 10 > What is the BSD function "index" supposed to do? It's not a BSD function. It's (surprise!) an AT&T function. It came with V7 UNIX, which was produced by AT&T and sold by them. > Does anyone know the equivalent on a System V Release 2 machine? Yes. "strchr". The function was renamed at some point. Guy Harris