[all-commits] [llvm/llvm-project] 1c261e: [libc] Add implementation of getchar

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Apr 14 15:40:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c261e360f558a914b9eafb22423f893f5dc54de
      https://github.com/llvm/llvm-project/commit/1c261e360f558a914b9eafb22423f893f5dc54de
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/stdio.rst
    M libc/spec/posix.td
    M libc/spec/stdc.td
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/getchar.cpp
    A libc/src/stdio/getchar.h
    A libc/src/stdio/getchar_unlocked.cpp
    A libc/src/stdio/getchar_unlocked.h

  Log Message:
  -----------
  [libc] Add implementation of getchar

added getchar and getchar_unlocked which are just wrappers getc and getc_unlocked respectively.

Reviewed By: sivachandra, lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D147919




More information about the All-commits mailing list