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
Paths
| Differential D153182
[libc] Remove the requirement of a platform-flush operation in File abstraction. ClosedPublic Authored by sivachandra on Jun 16 2023, 4:27 PM.
Details Summary The libc flush operation is not supposed to trigger a platform level https://man7.org/linux/man-pages/man3/fflush.3.html
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 16 2023, 4:27 PM This revision is now accepted and ready to land.Jun 16 2023, 4:44 PM Closed by commit rG21e1651c0ceb: [libc] Remove the requirement of a platform-flush operation in File abstraction. (authored by sivachandra). · Explain WhyJun 19 2023, 11:38 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 532722 libc/src/__support/File/file.h
libc/src/__support/File/file.cpp
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
|