index - character string operations (LEGACY)
The index() function shall be equivalent to strchr().
See strchr() .
See strchr() .
None.
The strchr() function is preferred over this function.
For maximum portability, it is recommended to replace the function call to index() as follows:
#define index(a,b) strchr((a),(b))
None.
This function may be withdrawn in a future version.
strchr() , the Base Definitions volume of IEEE Std 1003.1-2001, <strings.h>
First released in Issue 4, Version 2.
Moved from X/OPEN UNIX extension to BASE.
This function is marked LEGACY.