mescc: Tinycc support: strncpy.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 20 May 2018 08:55:44 +0000 (10:55 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 20 May 2018 08:55:44 +0000 (10:55 +0200)
commit948fbf97438a0f8da0ef2a039586094cf5683a8c
treec8aeb7e0751c4d4f820e9da31df2385bd9ad88e4
parent8f1a26b40a1d8d2f499dd81bba1e919c606370bd
mescc: Tinycc support: strncpy.

* lib/libc+tcc.c (strncpy): New function.
* scaffold/tests/86-strncpy.c: Test it.
* build-aux/check-mescc.sh (tests): Run it.
* build-aux/cc-mlibc.sh (LIBC): Acknowlegde.
* build-aux/test.sh (LIBC): Export it.
build-aux/cc-mlibc.sh
build-aux/test.sh
lib/libc+tcc.c
scaffold/tests/51-strcmp.c
scaffold/tests/86-strncpy.c [new file with mode: 0644]