What does index() and rindex() do ??

Niklas Hallqvist niklas at appli.se
Thu Mar 28 17:45:36 AEST 1991


tore at 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 at appli.se
S-412 63  GOTEBORG, Sweden     mcsun!sunic!chalmers!appli!niklas



More information about the Comp.unix.programmer mailing list