mescc: Tinycc support: getcwd.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 24 Jul 2017 11:49:17 +0000 (13:49 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:44 +0000 (11:36 +0200)
commit2d1623c5f07f851192c8acda5939438ed3d7e72d
tree2105e6ed09d82d703850b820af5a46294034dd54
parentecf0fb50b1319079ccf3ed3a63261d10b47038ee
mescc: Tinycc support: getcwd.

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