rich cannings e44cb1a35c Fix return value.
Return a valid pointer (not NULL) when the character "c" is at the end of "src".

Change-Id: Iab0b677943f2c8a9fbb255c44689f5d6dc3535d7
Example:
  memccpy(dest, "xzy", 'y', 3) should return dest+3 rather than null.
2010-08-31 15:19:38 -07:00
..
2010-08-31 15:19:38 -07:00
2010-02-05 15:13:55 -08:00
2010-01-30 22:29:59 -02:00