[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] warning: built-in function `index' declared asnon-fun
From: |
Christopher X. Candreva |
Subject: |
Re: [avr-gcc-list] warning: built-in function `index' declared asnon-function |
Date: |
Fri, 9 May 2003 08:15:00 -0400 (EDT) |
> Joerg Wunsch wrote:
> > Strange that i've never seen that so far (i have used "index" as a
> > variable name occasionally before), but the historical note is that
> > index() used to be an alias name for strchr() (in old BSDs), so
> > obviously, gcc has some knowledge about this.
FWIW - index is still an active function according to the man pages under
linux glibc, along with rindex
If you have access to a linux (or any other Unix variant) and want to find
out what a function does, you can usually just type
man function
at a command prompt to view the docs.
-Chris
==========================================================
Chris Candreva -- address@hidden -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/