From 76cad786c8cd778a890ceb936b301d63d64093e4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 14 Nov 2005 22:59:08 +0000 Subject: Split up wstring.c and use attribute_hidden --- libc/string/strlcpy.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libc/string/strlcpy.c (limited to 'libc/string/strlcpy.c') 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 + * + * 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 -- cgit v1.2.3