cpr, program to print table of contents: What is rindex()?

Rosenthal svr at wjh12.UUCP
Fri Sep 2 00:12:12 AEST 1983


	If you have system III (like me) then 

	rindex is equivalent to strrchr() (3C)
	(and for the record, index is equivalent to strchr....)
	It looks for the last occurrence of character c in string s
	and returns a pointer to it). I'v been had by that one before,
	too.
				Simon Rosenthal
				(decvax!wivax!genrad!wjh12!svr)



More information about the Comp.sources.unix mailing list