Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site eagle.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!ulysses!eagle!mjs From: mjs@eagle.UUCP (M.J.Shannon) Newsgroups: net.lang.c Subject: Re: index Message-ID: <1302@eagle.UUCP> Date: Mon, 29-Jul-85 09:31:02 EDT Article-I.D.: eagle.1302 Posted: Mon Jul 29 09:31:02 1985 Date-Received: Wed, 31-Jul-85 03:14:10 EDT References: <652@hou2e.UUCP> <169@kitty.UUCP> Organization: AT&T Bell Laboratories, Summit, NJ Lines: 9 > > What is the BSD function "index" supposed to do? Does anyone > > know the equivalent on a System V Release 2 machine? The C function index() from V7 and 4.xBSD maps to strchr() in System V. Similarly, rindex() maps to strrchr(). -- Marty Shannon UUCP: ihnp4!eagle!mjs Phone: +1 201 522 6063