Paul Sokolovsky
|
c6923f52f0
|
lib/libc/string0: Remove better-than-standard strncpy() implementation.
ANSI C doesn't require that strncpy() produced null-terminated string, so
it's basicly useless for string manipulation.
|
2016-05-02 18:53:21 +03:00 |
Paul Sokolovsky
|
bd9de5ec90
|
lib/libc/string0: Add strncpy() implementation.
|
2016-05-02 18:38:19 +03:00 |
Damien George
|
64ececb72f
|
lib/libc/string0: Use uintptr_t instead of uint32_t.
This makes the code portable to non-32-bit architectures.
|
2015-12-31 14:11:18 +00:00 |
Daniel Campora
|
abea1c38a9
|
lib/libc: Add memchr. We already have strchr, but memchr is useful too.
|
2015-04-28 16:48:20 +02:00 |
Damien George
|
f53a8e712f
|
lib/libc/string0.c: Remove include of std.h, replace with string.h.
Much more portable this way.
|
2015-04-18 14:27:55 +01:00 |
Paul Sokolovsky
|
3a84c8b58d
|
string0.c: Move from stmhal/ to lib/.
|
2015-04-05 21:57:55 +03:00 |