mescc: Tinycc support: snprintf.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Aug 2017 15:38:44 +0000 (17:38 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Aug 2017 15:38:44 +0000 (17:38 +0200)
commit70e3e8358120600491dfecdad955992b801b43bf
tree869413a4c4c04bff77e8fc98abca3ec1367f13b3
parent3392f7241ab6304c5455671eebc099f5451506fc
mescc: Tinycc support: snprintf.

* mlibc/include/stdarg.h (vsprintf): Declare.
* mlibc/libc-gcc.c (vsprintf): New function.
  (sprintf): Use it.
* mlibc/libc-mes+tcc.c (snprintf): Implement.
* mlibc/libc-mes.c (vsprintf): New function
  (sprintf): Use it.
mlibc/include/stdarg.h
mlibc/libc-gcc.c
mlibc/libc-mes+tcc.c
mlibc/libc-mes.c