index

M.J.Shannon mjs at eagle.UUCP
Mon Jul 29 23:31:02 AEST 1985


> > 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



More information about the Comp.lang.c mailing list