2 * Copyright (C) 2002 Manuel Novoa III
3 * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
10 #include "_syserrmsg.h"
13 char *strerror(int errnum)
15 static char buf[_STRERROR_BUFSIZE];
17 __xpg_strerror_r(errnum, buf, sizeof(buf));
21 libc_hidden_def(strerror)