~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/strstr.c

  • Committer: Brian Aker
  • Date: 2008-07-15 06:45:16 UTC
  • Revision ID: brian@tangent.org-20080715064516-fnbq7kowh7w57bxj
Merge Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    strstr(src, pat) looks for an instance of pat in src.  pat is not a
24
24
    regex(3) pattern, it is a literal string which must be matched exactly.
25
25
    The result is a pointer to the first character of the located instance,
26
 
    or NULL if pat does not occur in src.
 
26
    or NullS if pat does not occur in src.
27
27
 
28
28
*/
29
29
 
 
30
#include <my_global.h>
30
31
#include "m_string.h"
31
32
 
32
33
#ifndef HAVE_STRSTR