[libc-commits] [PATCH] D153182: [libc] Remove the requirement of a platform-flush operation in File abstraction.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jun 16 16:27:50 PDT 2023


sivachandra created this revision.
sivachandra added reviewers: michaelrj, lntue.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
sivachandra requested review of this revision.

The libc flush operation is not supposed to trigger a platform level
flush operation. See "Notes" on this Linux man page:

  https://man7.org/linux/man-pages/man3/fflush.3.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153182

Files:
  libc/src/__support/File/file.cpp
  libc/src/__support/File/file.h
  libc/src/__support/File/gpu/file.cpp
  libc/src/__support/File/linux/file.cpp
  libc/src/stdio/fopencookie.cpp
  libc/test/src/__support/File/file_test.cpp
  libc/test/src/stdio/ftell_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153182.532323.patch
Type: text/x-patch
Size: 6686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230616/f9e2d85e/attachment.bin>


More information about the libc-commits mailing list