File:
[DVB] /
dietlibc /
lib /
strxfrm.c
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Tue May 7 10:03:07 2002 UTC (22 years, 1 month ago) by
olaf
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
Count found a bug with strxfrm now its fixed
#include <sys/types.h>
#include <string.h>
#include "dietfeatures.h"
size_t strxfrm(char *dest, const char *src, size_t n) {
#ifdef WANT_FULL_POSIX_COMPAT
memset(dest,0,n);
#endif
memccpy(dest,src,0,n);
return strlen(dest);
}
LinuxTV legacy CVS <linuxtv.org/cvs>