strrchr.html 625 B

123456789101112131415161718192021222324252627282930
  1. <html>
  2. <head>
  3. <title>strrchr</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>strrchr</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. strrchr - search string for character
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;string.h&gt;<br>
  13. <br>
  14. char *<br>
  15. strrchr(const char *<em>string</em>, int <em>chr</em>);
  16. <h3>Description</h3>
  17. strrchr searches <em>string</em> from the right for the first instance
  18. of the character <em>chr</em>.
  19. <h3>Return Values</h3>
  20. strrchr returns a pointer to the character found. If the character is
  21. not found, NULL is returned.
  22. </body>
  23. </html>