diff options
Diffstat (limited to 'src/string/strerror.c')
| -rw-r--r-- | src/string/strerror.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/string/strerror.c b/src/string/strerror.c index 055a11f7..a2d43f0c 100644 --- a/src/string/strerror.c +++ b/src/string/strerror.c @@ -1,9 +1,11 @@ +#include <errno.h> +#include <stdio.h> #include <string.h> -#include "errno.h" -#include "stdio.h" + # define __LONGEST_STRERR 64 /* FIXME */ /** convert error number to string **/ + char * strerror(int errnum) { static char errstr[__LONGEST_STRERR+1]; @@ -26,6 +28,7 @@ converts the error number ARGUMENT(errnum) to an error message string. The string returned should not be modified, and may be overwritten by subsequent calls. ***/ + /* STDC(1) */ |
