X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Flibc%2Fstdlib.h;h=9a0eab4c56c66db4b1d5932feed21bf918f9934d;hp=9c28e7468376420564bf0dcfab5ee802f1388a27;hb=3cb6f9dad7e37db865bd3cbccf0b5d6471fdd73f;hpb=d1e8a437c1fab4535f82c4c214ec3330ac32e48d diff --git a/src/libc/stdlib.h b/src/libc/stdlib.h index 9c28e74..9a0eab4 100644 --- a/src/libc/stdlib.h +++ b/src/libc/stdlib.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 STDLIB_H_ #define STDLIB_H_ @@ -15,6 +32,8 @@ void utoa(unsigned int val, char *buf, int base); /* defined in malloc.c */ void *malloc(size_t sz); +void *calloc(size_t num, size_t sz); +void *realloc(void *ptr, size_t sz); void free(void *ptr); #endif /* STDLIB_H_ */