Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!chalmers.se!appli!niklas From: niklas@appli.se (Niklas Hallqvist) Newsgroups: comp.unix.programmer Subject: Re: What does index() and rindex() do ?? Keywords: index rindex Message-ID: <1311@appli.se> Date: 28 Mar 91 07:45:36 GMT References: <375@bibsyst.UUCP> Organization: Applitron Datasystem AB, GOTHENBURG, SWEDEN Lines: 23 tore@bibsyst.UUCP (Tore Morkemo) writes: >Could anyone please tell me what rindex() and index() are supposed to do ?? index == strchr rindex == strrchr Well, I would have mailed this if it hadn't triggered a question that's been floating in the back of my head for the last five years. Is there something like a porting guide for C-programs under Unix? This guide would present the differences between all the main variants of Unix. Specifically differences in library functions and ioctl commands are interesting. I know the knowledge is out there, has anyone written it down? Niklas -- Niklas Hallqvist Phone: +46-(0)31-40 75 00 Applitron Datasystem Fax: +46-(0)31-83 39 50 Molndalsvagen 95 Email: niklas@appli.se S-412 63 GOTEBORG, Sweden mcsun!sunic!chalmers!appli!niklas