[libc-commits] [PATCH] D126829: [libc] add buffering to FILE writes

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 1 15:01:04 PDT 2022


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

Previously all FILE objects were fully buffered, this patch adds line
buffering and unbuffered output, as well as applying them to stdout and
stderr.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126829

Files:
  libc/src/__support/File/file.cpp
  libc/src/__support/File/file.h
  libc/src/__support/File/linux_file.cpp
  libc/test/src/__support/File/file_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126829.433562.patch
Type: text/x-patch
Size: 11861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220601/bfb2c205/attachment.bin>


More information about the libc-commits mailing list