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:
Ingo Weinhold 2005-11-14 12:07:29 +00:00
parent a817d6ad5a
commit ef9b2fc28b
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,7 @@ KernelMergeObject posix_string.o :
strspn.c
strstr.c
strtok.c
strxfrm.c
: -fPIC -DPIC
;

View File

@ -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);
}