source: trunk/sys/dietlibc/strxfrm.c @ 291

Last change on this file since 291 was 1, checked in by alain, 8 years ago

First import

File size: 211 bytes
Line 
1#include <string.h>
2#include "dietfeatures.h"
3
4size_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.