diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:18:43 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:18:43 +0000 |
commit | 73cf443817dc68bcb209571c37f5e92e96ec1bcc (patch) | |
tree | 1a180e5071c3e97bc9152d37a8a8432a090bf442 /libc/string/strlcpy.c | |
parent | b364dee70b8c81740b62c455c6d7685f5ff9f3f8 (diff) | |
download | uClibc-alpine-73cf443817dc68bcb209571c37f5e92e96ec1bcc.tar.bz2 uClibc-alpine-73cf443817dc68bcb209571c37f5e92e96ec1bcc.tar.xz |
Copy from trunk.
Diffstat (limited to 'libc/string/strlcpy.c')
-rw-r--r-- | libc/string/strlcpy.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/string/strlcpy.c b/libc/string/strlcpy.c new file mode 100644 index 000000000..ebf135490 --- /dev/null +++ b/libc/string/strlcpy.c @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_strlcpy +#define Wstrlcpy __strlcpy + +#include "wstring.c" + +strong_alias(__strlcpy, strlcpy) + +#ifdef __LOCALE_C_ONLY +weak_alias(strlcpy, strxfrm) +#endif + +#undef L_strlcpy |