aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)AuthorFilesLines
2021-02-09libc: Compile with -WextraAlexey Kardashevskiy1-1/+1
-Wextra enables a bunch of rather useful checks which this fixes. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- Changes: v2: * replaced cast to int with cast to size_t
2018-05-24libc: Implement strrchr()Thomas Huth2-1/+29
This function will be used in one of the next patches to find the last slash in a file name string. Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt17-0/+513
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>