mescc: Tinycc support: lseek.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 24 Jul 2017 15:33:33 +0000 (17:33 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:45 +0000 (11:36 +0200)
commit9f60904d1c06adb05b04d1ddd0f252c660a15afb
treea7045b78a9c67621a7b3bc85c78d6a26aadd2abe
parenta8f22ea9932c2bb93fa3f63aaf0a26e6f3c084b8
mescc: Tinycc support: lseek.

* mlibc/include/unistd.h (lseek): Declare.
* stage0/x86.M1 (SYS_lseek): New define.
* mlibc/libc-mes+tcc.c (lseek): New function.
mlibc/include/unistd.h
mlibc/libc-mes+tcc.c
stage0/x86.M1