mescc: Support open, read.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 10 Jan 2017 19:35:52 +0000 (20:35 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 10 Jan 2017 19:35:52 +0000 (20:35 +0100)
commitb0e0ab014f302b16677e68a68860409f10c83927
treee2cab3c531789688861cd2341f6d90dacece9414
parent4726a6c9ce1187c0b295b5b7e6f569c8b86e8c86
mescc: Support open, read.

* module/mes/libc-i386.mes (i386:write): Fix comment.
  (i386:open, i386:read): New functions.
* module/mes/libc-i386.scm: Export them.
* module/language/c99/compiler.mes (i386:libc): Add them.
  (getchar, putchar): New libc functions.
  (libc): Add them.
module/language/c99/compiler.mes
module/mes/libc-i386.mes
module/mes/libc-i386.scm