/[gnats]/gnats/libiberty/index.c
ViewVC logotype

Diff of /gnats/libiberty/index.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by brendan, Thu Nov 5 19:54:15 1998 UTC revision 1.2 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 1  Line 1 
1  /* Stub implementation of (obsolete) index(). */  /* 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();  extern char * strchr();
16    
17  char *  char *

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26