bionic/libc/string
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
..
bcopy.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
index.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memccpy.c Fix return value. 2010-08-31 15:19:38 -07:00
memchr.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memcmp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memcpy.c Generic memcpy should define MEMCOPY before including bcopy.c 2010-02-05 15:13:55 -08:00
memmem.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memmove.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memrchr.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memset.c Correct generic memset implementation 2010-02-05 15:13:55 -08:00
memswap.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strcasecmp.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strcasestr.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strcat.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strchr.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strcmp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strcoll.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strcpy.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strcspn.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strdup.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strerror_r.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strerror.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strlcat.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strlcpy.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strlen.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strncat.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strncmp.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strncpy.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strndup.c string: tidy up strndup() 2010-01-30 22:29:59 -02:00
strnlen.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strpbrk.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strrchr.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strsep.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strspn.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strstr.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00
strtok.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtotimeval.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strxfrm.c improve readability of string: fix indentation and remove trailing spaces 2010-01-30 22:28:49 -02:00