Files
clang-p2996/libc/src/stdio/fputc.h
Michael Jones 40b494396b [libc] add putc, fputc, and putchar
These three functions are simple, but needed for libc build testing.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D135990
2022-10-17 16:29:04 -07:00

21 lines
589 B
C++

//===-- Implementation header of fputc --------------------------*- C++ -*-===//
//
// 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_SRC_STDIO_FPUTC_H
#define LLVM_LIBC_SRC_STDIO_FPUTC_H
#include <stdio.h>
namespace __llvm_libc {
int fputc(int c, ::FILE *stream);
} // namespace __llvm_libc
#endif // LLVM_LIBC_SRC_STDIO_FPUTC_H