source:
trunk/binutils/libiberty/index.c@
3339
| Last change on this file since 3339 was 610, checked in by , 22 years ago | |
|---|---|
|
|
| File size: 435 bytes | |
| Line | |
|---|---|
| 1 | /* Stub implementation of (obsolete) index(). */ |
| 2 | |
| 3 | /* |
| 4 | |
| 5 | @deftypefn Supplemental char* index (char *@var{s}, int @var{c}) |
| 6 | |
| 7 | Returns a pointer to the first occurrence of the character @var{c} in |
| 8 | the string @var{s}, or @code{NULL} if not found. The use of @code{index} is |
| 9 | deprecated in new programs in favor of @code{strchr}. |
| 10 | |
| 11 | @end deftypefn |
| 12 | |
| 13 | */ |
| 14 | |
| 15 | extern char * strchr(); |
