source:
trunk/sys/dietlibc/strxfrm.c
@
266
Last change on this file since 266 was 1, checked in by , 8 years ago | |
---|---|
File size: 211 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <string.h> |
2 | #include "dietfeatures.h" | |
3 | ||
4 | size_t strxfrm(char *dest, const char *src, size_t n) { | |
5 | #ifdef WANT_FULL_POSIX_COMPAT | |
6 | memset(dest,0,n); | |
7 | #endif | |
8 | memccpy(dest,src,0,n); | |
9 | return strlen(dest); | |
10 | } | |
11 |
Note: See TracBrowser
for help on using the repository browser.