__glibc_strerror_r.c 417 B

123456789101112131415161718
  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 *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen)
  10. {
  11. __xpg_strerror_r(errnum, strerrbuf, buflen);
  12. return strerrbuf;
  13. }
  14. libc_hidden_def(__glibc_strerror_r)