1 /*
2  * Copyright (c) 2008 Travis Geiselbrecht
3  *
4  * Use of this source code is governed by a MIT-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/MIT
7  */
8 
9 #include <string.h>
10 #include <sys/types.h>
11 
12 char const *
strerror(int errnum)13 strerror(int errnum) {
14     if (errnum < 0) {
15         return "General Error";
16     } else {
17         return "No Error";
18     }
19 }
20 
21