diff options
author | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
commit | 39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch) | |
tree | b437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/index.c | |
parent | 4e6667ac4f987fecbcf576513c70485a4718712e (diff) | |
download | gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/index.c')
-rw-r--r-- | libiberty/index.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/index.c b/libiberty/index.c index e5a00f5..9c2ea82 100644 --- a/libiberty/index.c +++ b/libiberty/index.c @@ -1,5 +1,17 @@ /* Stub implementation of (obsolete) index(). */ +/* + +@deftypefn Supplemental char* index (char *@var{s}, int @var{c}) + +Returns a pointer to the first occurance of the character @var{c} in +the string @var{s}, or NULL if not found. The use of @code{index} is +deprecated in new programs in favor of @code{strchr}. + +@end deftypefn + +*/ + extern char * strchr(); char * |