[comp.unix.questions] _index in file

terry@pride386.UUCP (Terry Lyons) (03/27/90)

Hi ...
I keep finding this message while trying to compile source cod from 
comp.sources.unix 
_index in file(s)
(filename)
*** Error code 1

there seems to be a lot of programs that use this (_index)
my question is from what source do I get _index or does sco Xenix
call this something different?
DS=sco Xenix 286 2.2.1
terry

-- 
**************************************************************************
*  UUNET	...!pride386!terry       *  FAX	(714) 739 - 2203         *
*  Pern is a dragons best freind                                         *
**************************************************************************

cpcahil@virtech.uucp (Conor P. Cahill) (03/27/90)

In article <254@pride386.UUCP> terry@pride386.UUCP (Terry Lyons) writes:
>Hi ...
>I keep finding this message while trying to compile source cod from 
>comp.sources.unix 
>_index in file(s)

index() is the BSD equivalent of strchr().  Just add a -Dindex=strchr 
and you should be ok.


-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170