strlcpy.c 374 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #define L_strlcpy
  7. #define Wstrlcpy __strlcpy
  8. #include "wstring.c"
  9. strong_alias(__strlcpy, strlcpy)
  10. #ifdef __LOCALE_C_ONLY
  11. hidden_strong_alias(__strlcpy, __strxfrm)
  12. strong_alias(__strlcpy, strxfrm)
  13. #endif
  14. #undef L_strlcpy