strlcpy.c 328 B

123456789101112131415161718
  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. weak_alias(strlcpy, strxfrm)
  12. #endif
  13. #undef L_strlcpy