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
24 #include <libmes-mini.h>
27 long abtol (char const** p, int base);
28 char const* ntoab (long number, int base, int signed_p);
29 char const* itoa (int number);
30 char const* utoa (unsigned long number);
31 char const* ltoab (long x, int base);
32 int atoi (char const *s);
35 int fdputc (int c, int fd);
36 int fdputs (char const* s, int fd);
37 int fdungetc (int c, int fd);
38 int _fdungetc_p (int fd);
42 int oputs (char const* s);
43 ssize_t write (int filedes, void const *buffer, size_t size);
44 char *search_path (char const *file_name);
46 #endif //__MES_LIBMES_H