mes/libc/include/stdio.h
Jan Nieuwenhuizen 4e0042cae6 mescc: Basic printf support.
* module/mes/libc-i386.mes (i386:va-arg): New function.
* module/mes/libc-i386.scm (mes): Export it.
* module/mes/libc.mes (printf): New function.
  (libc): Add it.
* libc/include/stdio.h: New file.
* module/language/c99/compiler.mes (c99-input->ast): Add libc/include
  to include path.
  (ast-info): Handle (skip) ellipsis in function declaration.
2017-05-02 17:00:07 +02:00

7 lines
98 B
C

#ifndef __STDIO_H
#define __STDIO_H 1
int printf (char const* format, ...);
#endif // __STDIO_H