Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!newstop!texsun!Athena!mismpc!tim From: tim@mismpc.dal.fsd.mot.com (Tim Dawson) Newsgroups: comp.unix.programmer Subject: Re: What does index() and rindex() do ?? Keywords: index rindex Message-ID: Date: 28 Mar 91 01:23:14 GMT References: <375@bibsyst.UUCP> Sender: usenet@Athena.UUCP Lines: 10 tore@bibsyst.UUCP (Tore Morkemo) writes: >Could anyone please tell me what rindex() and index() are supposed to do ?? On System V, strchr and strrchr perform the same functions - typically if you: #define index strchr #define rindex strrchr everything will work OK.