* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
[binutils-gdb.git] / libiberty / rindex.c
index 061d1269f178e2454543a45033cd050a8e10bd38..ef9cdc59877dc1a83ce479786c88ca913579dfaa 100644 (file)
@@ -1,5 +1,17 @@
 /* Stub implementation of (obsolete) rindex(). */
 
+/*
+
+@deftypefn Supplemental char* rindex (const char *@var{s}, int @var{c})
+
+Returns a pointer to the last occurrence of the character @var{c} in
+the string @var{s}, or @code{NULL} if not found.  The use of @code{rindex} is
+deprecated in new programs in favor of @code{strrchr}.
+
+@end deftypefn
+
+*/
+
 extern char *strrchr ();
 
 char *