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

Diff of /gnats/libiberty/strchr.c

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

revision 1.2 by jsm, Tue Oct 26 07:10:16 1999 UTC revision 1.3 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 2  Line 2 
2     This function is in the public domain.  */     This function is in the public domain.  */
3    
4  /*  /*
 NAME  
         strchr -- return pointer to first occurance of a character  
5    
6  SYNOPSIS  @deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
7          char *strchr (const char *s, int c)  
8    Returns a pointer to the first occurrence of the character @var{c} in
9    the string @var{s}, or @code{NULL} if not found.  If @var{c} is itself the
10    null character, the results are undefined.
11    
12    @end deftypefn
13    
 DESCRIPTION  
         Returns a pointer to the first occurance of character C in  
         string S, or a NULL pointer if no occurance is found.  
           
 BUGS  
         Behavior when character is the null character is implementation  
         dependent.  
14  */  */
15    
16  #include <ansidecl.h>  #include <ansidecl.h>

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

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