~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to libiberty/strrchr.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
   This function is in the public domain. */
3
3
 
4
4
/*
5
 
NAME
6
 
        strrchr -- return pointer to last occurance of a character
7
 
 
8
 
SYNOPSIS
9
 
        char *strrchr (const char *s, int c)
10
 
 
11
 
DESCRIPTION
12
 
        Returns a pointer to the last occurance of character C in
13
 
        string S, or a NULL pointer if no occurance is found.
14
 
        
15
 
BUGS
16
 
        Behavior when character is the null character is implementation
17
 
        dependent.
 
5
 
 
6
@deftypefn Supplemental char* strrchr (const char *@var{s}, int @var{c})
 
7
 
 
8
Returns a pointer to the last 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
 
18
14
*/
19
15
 
20
16
#include <ansidecl.h>