__glibc_strerror_r.c 541 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2002 Manuel Novoa III
  3. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <features.h>
  8. #include <string.h>
  9. char attribute_hidden *__glibc_strerror_r_internal(int errnum, char *strerrbuf, size_t buflen)
  10. {
  11. __xpg_strerror_r_internal(errnum, strerrbuf, buflen);
  12. return strerrbuf;
  13. }
  14. strong_alias(__glibc_strerror_r_internal,__glibc_strerror_r)
  15. /*hidden_weak_alias(__glibc_strerror_r_internal,__strerror_r)*/