Added temporary implementation of strxfrm().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,6 +35,7 @@ KernelMergeObject posix_string.o :
|
|||||||
strspn.c
|
strspn.c
|
||||||
strstr.c
|
strstr.c
|
||||||
strtok.c
|
strtok.c
|
||||||
|
strxfrm.c
|
||||||
|
|
||||||
: -fPIC -DPIC
|
: -fPIC -DPIC
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
size_t
|
||||||
|
strxfrm(char *out, const char *in, size_t size)
|
||||||
|
{
|
||||||
|
// TODO: To be implemented correctly when we have collation support.
|
||||||
|
return strlcpy(out, in, size);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user