Summary: This patch adds a very basic `FILE` type and basic `fwrite`. It also removes `snprintf` from `StdIO`'s function spec because `VarArgType` was causing the generation to fail. Reviewers: sivachandra, PaulkaToast Reviewed By: sivachandra Subscribers: mgorny, MaskRay, tschuett, libc-commits Differential Revision: https://reviews.llvm.org/D77626
17 lines
500 B
Modula-2
17 lines
500 B
Modula-2
//===-- C standard library header stdio.h ---------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_STDIO_H
|
|
#define LLVM_LIBC_STDIO_H
|
|
|
|
#include <__llvm-libc-common.h>
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_STDIO_H
|