[all-commits] [llvm/llvm-project] 0b24b4: [libc] Add the implementation of the fdopen functi...
Xu Zhang via All-commits
all-commits at lists.llvm.org
Fri Jun 14 16:18:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b24b4706982907799c838d80e06b3aa08420549
https://github.com/llvm/llvm-project/commit/0b24b4706982907799c838d80e06b3aa08420549
Author: Xu Zhang <simonzgx at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/posix.td
M libc/src/__support/File/linux/file.cpp
M libc/src/__support/File/linux/file.h
A libc/src/__support/OSUtil/fcntl.h
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/src/fcntl/linux/CMakeLists.txt
M libc/src/fcntl/linux/fcntl.cpp
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/fdopen.h
M libc/src/stdio/linux/CMakeLists.txt
A libc/src/stdio/linux/fdopen.cpp
M libc/test/src/fcntl/fcntl_test.cpp
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/fdopen_test.cpp
Log Message:
-----------
[libc] Add the implementation of the fdopen function (#94186)
Fixes #93711 .
This patch implements the ``fdopen`` function. Given that ``fdopen``
internally calls ``fcntl``, the implementation of ``fcntl`` has been
moved to the ``__support/OSUtil``, where it serves as an internal public
function.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list