* include/mes/lib-mini.h: Move from include/libmes-mini.h. Update users.
* include/mes/lib.h: Move from include/libmes.h. Update users.
+++ /dev/null
-/* -*-comment-start: "//";comment-end:""-*-
- * GNU Mes --- Maxwell Equations of Software
- * Copyright © 2016,2017,2018 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 __MES_LIBMES_MINI_H
-#define __MES_LIBMES_MINI_H
-
-#if !WITH_GLIBC
-
-#ifndef _SIZE_T
-#define _SIZE_T
-#ifndef __SIZE_T
-#define __SIZE_T
-#ifndef __MES_SIZE_T
-#define __MES_SIZE_T
-#undef size_t
-typedef unsigned long size_t;
-#endif
-#endif
-#endif
-
-#ifndef _SSIZE_T
-#define _SSIZE_T
-#ifndef __SSIZE_T
-#define __SSIZE_T
-#ifndef __MES_SSIZE_T
-#define __MES_SSIZE_T
-#undef ssize_t
-#if __i386__
-typedef int ssize_t;
-#else
-typedef long ssize_t;
-#endif
-#endif
-#endif
-#endif
-
-#ifndef __MES_ERRNO_T
-#define __MES_ERRNO_T 1
-typedef int error_t;
-int errno;
-#endif // !__MES_ERRNO_T
-
-#endif //!WITH_LIBC
-
-// CONSTANT STDIN 0
-#ifndef STDIN
-#define STDIN 0
-#endif
-
-// CONSTANT STDOUT 1
-#ifndef STDOUT
-#define STDOUT 1
-#endif
-
-// CONSTANT STDERR 2
-#ifndef STDERR
-#define STDERR 2
-#endif
-
-char **environ;
-int __stdin;
-int __stdout;
-int __stderr;
-
-int eputs (char const* s);
-int puts (char const* s);
-int oputs (char const* s);
-
-#if !WITH_GLIBC
-size_t strlen (char const* s);
-ssize_t write (int filedes, void const *buffer, size_t size);
-#endif // !WITH_GLIBC
-
-#endif //__MES_LIBMES_MINI_H
+++ /dev/null
-/* -*-comment-start: "//";comment-end:""-*-
- * GNU Mes --- Maxwell Equations of Software
- * Copyright © 2016,2017,2018,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 __MES_LIBMES_H
-#define __MES_LIBMES_H
-
-#include <libmes-mini.h>
-
-#if WITH_GLIBC
-int mes_open (char const *file_name, int flags, ...);
-#define open mes_open
-#endif
-
-int __mes_debug ();
-void __ungetc_init ();
-void __ungetc_clear (int filedes);
-void __ungetc_set (int filedes, int c);
-int __ungetc_p (int filedes);
-long abtol (char const **p, int base);
-char *itoa (int number);
-char *ltoa (long number);
-char *ltoab (long x, int base);
-char *ntoab (long number, int base, int signed_p);
-char *ultoa (unsigned long number);
-char *utoa (unsigned number);
-int atoi (char const *s);
-int eputc (int c);
-int fdgetc (int fd);
-int fdputc (int c, int fd);
-int fdputs (char const* s, int fd);
-int fdungetc (int c, int fd);
-int _fdungetc_p (int fd);
-int isdigit (int c);
-int isspace (int c);
-int isxdigit (int c);
-int _open3 (char const *file_name, int flags, int mask);
-int _open2 (char const *file_name, int flags);
-int oputc (int c);
-int oputs (char const* s);
-char *search_path (char const *file_name);
-
-#endif //__MES_LIBMES_H
--- /dev/null
+/* -*-comment-start: "//";comment-end:""-*-
+ * GNU Mes --- Maxwell Equations of Software
+ * Copyright © 2016,2017,2018 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 __MES_LIB_MINI_H
+#define __MES_LIB_MINI_H
+
+#if !WITH_GLIBC
+
+#ifndef _SIZE_T
+#define _SIZE_T
+#ifndef __SIZE_T
+#define __SIZE_T
+#ifndef __MES_SIZE_T
+#define __MES_SIZE_T
+#undef size_t
+typedef unsigned long size_t;
+#endif
+#endif
+#endif
+
+#ifndef _SSIZE_T
+#define _SSIZE_T
+#ifndef __SSIZE_T
+#define __SSIZE_T
+#ifndef __MES_SSIZE_T
+#define __MES_SSIZE_T
+#undef ssize_t
+#if __i386__
+typedef int ssize_t;
+#else
+typedef long ssize_t;
+#endif
+#endif
+#endif
+#endif
+
+#ifndef __MES_ERRNO_T
+#define __MES_ERRNO_T 1
+typedef int error_t;
+int errno;
+#endif // !__MES_ERRNO_T
+
+#endif //!WITH_LIBC
+
+// CONSTANT STDIN 0
+#ifndef STDIN
+#define STDIN 0
+#endif
+
+// CONSTANT STDOUT 1
+#ifndef STDOUT
+#define STDOUT 1
+#endif
+
+// CONSTANT STDERR 2
+#ifndef STDERR
+#define STDERR 2
+#endif
+
+char **environ;
+int __stdin;
+int __stdout;
+int __stderr;
+
+int eputs (char const* s);
+int puts (char const* s);
+int oputs (char const* s);
+
+#if !WITH_GLIBC
+size_t strlen (char const* s);
+ssize_t _write ();
+ssize_t write (int filedes, void const *buffer, size_t size);
+#endif // !WITH_GLIBC
+
+#endif //__MES_LIB_MINI_H
--- /dev/null
+/* -*-comment-start: "//";comment-end:""-*-
+ * GNU Mes --- Maxwell Equations of Software
+ * Copyright © 2016,2017,2018,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 __MES_LIB_H
+#define __MES_LIB_H
+
+#include <mes/lib-mini.h>
+
+#if WITH_GLIBC
+int mes_open (char const *file_name, int flags, ...);
+#define open mes_open
+#endif
+
+int __mes_debug ();
+void __ungetc_init ();
+void __ungetc_clear (int filedes);
+void __ungetc_set (int filedes, int c);
+int __ungetc_p (int filedes);
+long abtol (char const **p, int base);
+char *itoa (int number);
+char *ltoa (long number);
+char *ltoab (long x, int base);
+char *ntoab (long number, int base, int signed_p);
+char *ultoa (unsigned long number);
+char *utoa (unsigned number);
+int atoi (char const *s);
+int eputc (int c);
+int fdgetc (int fd);
+int fdputc (int c, int fd);
+int fdputs (char const* s, int fd);
+int fdungetc (int c, int fd);
+int _fdungetc_p (int fd);
+int isdigit (int c);
+int isspace (int c);
+int isxdigit (int c);
+int _open3 (char const *file_name, int flags, int mask);
+int _open2 (char const *file_name, int flags);
+int oputc (int c);
+int oputs (char const* s);
+char *search_path (char const *file_name);
+
+#endif //__MES_LIB_H
#ifndef __MES_STDIO_H
#define __MES_STDIO_H 1
-#include <libmes.h>
+#include <mes/lib.h>
#if WITH_GLIBC
#ifndef _GNU_SOURCE
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
long
abtol (char const **p, int base)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
isdigit (int c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
isspace (int c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
isxdigit (int c)
#include <sys/ioctl.h>
#include <stdarg.h>
#include <stdlib.h>
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
double
__divdi3 (double a, double b)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <limits.h>
// instead of calling main, it seems to call either _main or ___main,
// let's try _main first
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int _main (int argc, char *argv[]);
void
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
//int main (int argc, char *argv[], char *envp[]);
void
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "libmes-mini.h"
+#include "mes/lib-mini.h"
int main (int argc, char *argv[], char *envp[]);
// instead of calling main, it seems to call either _main or ___main,
// let's try _main first
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int main (int argc, char *argv[]);
// gcc x86_64 calling convention:
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
// int main (int argc, char *argv[]);
// gcc x86_64 calling convention:
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "libmes-mini.h"
+#include "mes/lib-mini.h"
int main (int argc, char *argv[], char *envp[]);
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
+#include <ctype.h>
long
abtol (char const **p, int base)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
eputc (int c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
eputs (char const* s)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <limits.h>
#include <sys/resource.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
fdputc (int c, int fd)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
fdputs (char const* s, int fd)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
fdungetc (int c, int fd)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
itoa (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
ltoa (long x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
ltoab (long x, int base)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
ntoab (long x, int base, int signed_p)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
oputc (int c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
oputs (char const* s)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
search_path (char const *file_name)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
ultoa (unsigned long x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
char *
utoa (unsigned x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
//#if __GNUC__ && __x86_64__
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
size_t
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <mes/lib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
+#include <mes/lib.h>
+#include <stdarg.h>
+#include <string.h>
int
vsnprintf (char *str, size_t size, char const* format, va_list ap)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <mes/lib.h>
#include <stdarg.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
atoi (char const *s)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
void (*__call_at_exit) (void);
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
puts (char const* s)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
long
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
size_t
strlen (char const* s)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
__cleanup ()
/* -*-comment-start: "//";comment-end:""-*-
* GNU Mes --- Maxwell Equations of Software
- * Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+ * Copyright © 2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
*
* This file is part of GNU Mes.
*
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
atof (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
+#include <time.h>
int
ctime (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
size_t
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
frexp (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
-#include <stdio.h>
+#include <mes/lib.h>
+#include <unistd.h>
int
fscanf (FILE *stream, char const *template, ...)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
char *
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <pwd.h>
struct passwd *
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <pwd.h>
struct passwd *
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <time.h>
#include <sys/time.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
-#include <stdlib.h>
+#include <mes/lib.h>
+#include <math.h>
double
ldexp (double x, int exp)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <time.h>
#include <sys/time.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
pclose (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
popen (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <pwd.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
rewind (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
setbuf (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <locale.h>
char *
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
sigsetmask (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
size_t
strftime (char *s, size_t size, char const *template,
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
double
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
sys_siglist (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
system (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <sys/times.h>
#include <sys/time.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
char *
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
umask (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
utime (int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <assert.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <dirent.h>
#include <errno.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
#if 0
#include <linux/x86_64/syscall.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "libmes.h"
+#include "mes/lib.h"
#include "stdlib.h"
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdarg.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <unistd.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#error "WITH_GLIBC not supported"
#endif
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
-#include <libmes.h>
+#include <mes/lib.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
#define strchr xstrchr
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
int
#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include <libmes.h>
+#include <mes/lib.h>
char arena[2000];
#error "WITH_GLIBC not supported"
#endif
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
test (int i)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
test (int i)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
long
wrap (long a)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
isid (char c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
char g_arena[10];
char *g_chars = g_arena;
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
add (int a, int b)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
add (int a, int b)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
enum type_t {TCHAR, TCLOSURE, TCONTINUATION, TFUNCTION, TKEYWORD, TMACRO, TNUMBER, TPAIR, TREF, TSPECIAL, TSTRING, TSYMBOL, TVALUES, TVECTOR, TBROKEN_HEART};
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
label (int c)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
enum type_t {TCHAR, TCLOSURE, TCONTINUATION, TFUNCTION, TKEYWORD, TMACRO, TNUMBER, TPAIR, TREF, TSPECIAL, TSTRING, TSYMBOL, TVALUES, TVECTOR, TBROKEN_HEART};
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
void
void_func ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
-#include <libmes.h>
+#include <mes/lib.h>
int
add (int a, int b)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
struct function
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct scm
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdarg.h>
int
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
typedef struct foo
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
typedef union foo
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
typedef union foo
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
union u {
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#define ptr_size sizeof (void*)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
char *list[2] = {"foo\n", "bar\n"};
#include <string.h>
-#include <libmes.h>
+#include <mes/lib.h>
struct baz {
int i;
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdint.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int bla[2] = {0,-1};
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct foo
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct bar
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct foo
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
#include <stdlib.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
struct foo;
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <inttypes.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
struct string {
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#include <string.h>
#include <stdio.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct section
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#if __MESC__
#define __attribute__(x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#if __MESC__
#define __attribute__(x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct file {
char *ptr;
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
-#include <libmes.h>
+#include <mes/lib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct info {int flag;};
struct foo {int length; char* string; struct info info;};
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct info {int flag;};
struct foo {int length; char* string; struct info info;};
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
test (int i)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct foo
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes-mini.h>
+#include <mes/lib-mini.h>
int
main ()
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
struct foo
{
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
f (unsigned char x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
long
f (unsigned int x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
int
f (unsigned short x)
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
short foo;
short bar;
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libmes.h>
+#include <mes/lib.h>
#if __i386__
short foo;
#error "WITH_GLIBC not supported"
#endif
-#include <libmes.h>
+#include <mes/lib.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
-#include <libmes.h>
+#include <mes/lib.h>
//#define MES_MINI 1
#if WITH_GLIBC