~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/string.doc

  • Committer: Monty Taylor
  • Date: 2008-07-14 01:11:02 UTC
  • mto: (77.6.2 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 159.
  • Revision ID: monty@inaugust.com-20080714011102-am01v2f9xfpag7ua
Removed strinstr. It was only used twice in once place in mf_pack... and there
for a very small purpose. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  The result is a pointer to the first character of the located instance,
78
78
  or NullS if pat does not occur in src.
79
79
 
80
 
  strinstr(src, pat) looks for an instance of pat in src.  pat is not a
81
 
  regex(3) pattern, it is a literal string which must be matched exactly.
82
 
  The result 0 if the pattern was not found else it is the start char of
83
 
  the pattern counted from the begining of the string.
84
 
 
85
80
  strmake(dst,src,length) moves length characters, or until end, of src to
86
81
  dst and appends a closing NUL to dst.
87
82
  strmake() returns pointer to closing null;