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:
parent
a817d6ad5a
commit
ef9b2fc28b
@ -35,6 +35,7 @@ KernelMergeObject posix_string.o :
|
||||
strspn.c
|
||||
strstr.c
|
||||
strtok.c
|
||||
strxfrm.c
|
||||
|
||||
: -fPIC -DPIC
|
||||
;
|
||||
|
9
src/system/libroot/posix/string/strxfrm.c
Normal file
9
src/system/libroot/posix/string/strxfrm.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user