1 /* -*-comment-start: "//";comment-end:""-*-
2 * GNU Mes --- Maxwell Equations of Software
3 * Copyright © 2016,2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
5 * This file is part of GNU Mes.
7 * GNU Mes is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or (at
10 * your option) any later version.
12 * GNU Mes is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef __MES_LIBMES_H
22 #define __MES_LIBMES_H
31 typedef unsigned long size_t;
61 char const* ntoab (long number, int base, int signed_p);
62 char const* itoa (int number);
63 char const* utoa (unsigned long number);
64 char const* ltoab (long x, int base);
65 int _atoi (char const**, int base);
66 int atoi (char const *s);
68 int eputs (char const* s);
70 int fdputc (int c, int fd);
71 int fdputs (char const* s, int fd);
72 int fdungetc (int c, int fd);
73 int _fdungetc_p (int fd);
77 int oputs (char const* s);
78 ssize_t write (int filedes, void const *buffer, size_t size);
80 #endif //__MES_LIBMES_H