fd130a03d1
* .gitignore: Update. * include/linux/x86/syscall.h: Update for M2-Planet. * lib/linux/brk.c (brk): Remove cast for M2-Planet. * lib/linux/x86-mes-m2/syscall.c: New file. * lib/m2/malloc.c: New file. * lib/string/memset.c (memset): Update for M2-Planet. * scaffold/read.c: Update for M2-Planet. * scaffold/kaem.read: New file.
34 lines
980 B
C
34 lines
980 B
C
/*
|
|
* GNU Mes --- Maxwell Equations of Software
|
|
* Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
*
|
|
* This file is part of GNU Mes.
|
|
*
|
|
* GNU Mes 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.
|
|
*
|
|
* GNU Mes 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 GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __M2_LIB_H
|
|
#define __M2_LIB_H
|
|
|
|
char **environ;
|
|
int __stdin;
|
|
int __stdout;
|
|
int __stderr;
|
|
int errno;
|
|
|
|
// CONSTANT EOF 0xffffffff
|
|
// CONSTANT __FILEDES_MAX 512
|
|
|
|
#endif /* __M2_LIB_H */
|