X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Flibc%2Ferrno.h;h=a4cf48337871127153cf43824c4df7470b1f05fd;hb=81c11bdd80190ec319a82b0402173cfb65fcbf72;hp=a63ec24a96ec3442b6679a2a77c557ac4af92fd2;hpb=d1e8a437c1fab4535f82c4c214ec3330ac32e48d;p=bootcensus diff --git a/src/libc/errno.h b/src/libc/errno.h index a63ec24..a4cf483 100644 --- a/src/libc/errno.h +++ b/src/libc/errno.h @@ -1,3 +1,20 @@ +/* +pcboot - bootable PC demo/game kernel +Copyright (C) 2018 John Tsiombikas + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY, without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ #ifndef ERRNO_H_ #define ERRNO_H_ @@ -13,7 +30,12 @@ #define ENOSPC 10 #define EPERM 11 #define ENOTDIR 12 +#define EISDIR 13 +#define EEXIST 14 +#define ERANGE 34 #define EBUG 127 /* for missing features and known bugs */ +int errno; + #endif /* ERRNO_H_ */