[all-commits] [llvm/llvm-project] 22f9dc: [libc] Add the implementation of the fflush function.

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Apr 20 12:44:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22f9dca1137afe61e8facbd1d5b7edaa83a1220d
      https://github.com/llvm/llvm-project/commit/22f9dca1137afe61e8facbd1d5b7edaa83a1220d
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/__support/File/file.cpp
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/fflush.cpp
    A libc/src/stdio/fflush.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fileop_test.cpp

  Log Message:
  -----------
  [libc] Add the implementation of the fflush function.

Note that the underlying flush implementation does not yet fully implement
the POSIX standard. It is complete with respect to the C standard
however. A future change will add the POSIX behavior. It should not affect
the implementation of the fflush function however as the POSIX behavior
will be added in a lower layer.

Reviewed By: lntue

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




More information about the All-commits mailing list