summaryrefslogtreecommitdiffstats
path: root/lib/string.c
Commit message (Collapse)AuthorAgeFilesLines
* string.c: Fix includeSascha Hauer2014-03-291-1/+1
| | | | | | | | string.c needs string.h, otherwise we get: lib/string.c:730: warning: no previous prototype for 'memdup' Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: Add (x)memdupSascha Hauer2013-11-271-0/+14
| | | | | | It's a common task to duplicate some memory. Add (x)memdup functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: introduce memchr_invSascha Hauer2013-07-221-0/+59
| | | | | | Directly taken from Linux Kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: string: import case-insensitive string compareSebastian Hesselbarth2013-06-201-0/+60
| | | | | | This imports strnicmp, strcasecmp, and strncasecmp from Linux to barebox. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
* string: add strim for ONFI codeEric Bénard2012-07-051-0/+39
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: remove unused bcopy functionSascha Hauer2012-04-051-24/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: add strlcpy supportJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+26
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix some exported namesJuergen Beisert2009-12-111-2/+2
| | | | | | | Unsure if this is the/a correct fix, but without it, my build fails. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: add typechecking for strchr, strrchr, strstrSascha Hauer2008-08-201-4/+4
| | | | | | | These functions offered an excellent possibility to bypass compiler type checking. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* improved codingstyleMarc Kleine-Budde2007-11-291-3/+3
| | | | | | This patch improved the codingstyle Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* export functionsSascha Hauer2007-10-041-2/+23
|
* svn_rev_639Sascha Hauer2007-07-051-0/+546