aboutsummaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorAlex Brachet <alexbrachetmialot@gmail.com>2020-04-17 13:21:05 -0400
committerAlex Brachet <alexbrachetmialot@gmail.com>2020-04-17 13:21:05 -0400
commit5793c84925fa98f00dbc57f476448babc5ee3aaa (patch)
treedd70dfaae90a8a780bdff22626898db3dc105df7 /libc/lib
parent8c94d616e111372658237b82035dc5b024e4901b (diff)
downloadllvm-5793c84925fa98f00dbc57f476448babc5ee3aaa.zip
llvm-5793c84925fa98f00dbc57f476448babc5ee3aaa.tar.gz
llvm-5793c84925fa98f00dbc57f476448babc5ee3aaa.tar.bz2
[libc] Add write(2) implementation for Linux and FDReader test utility
Summary: Adds `write` for Linux and FDReader utility which should be useful for some stdio tests as well. Reviewers: sivachandra, PaulkaToast Reviewed By: sivachandra Subscribers: mgorny, tschuett, libc-commits Differential Revision: https://reviews.llvm.org/D78184
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index bc245cd..39654d8 100644
--- a/libc/lib/CMakeLists.txt
+++ b/libc/lib/CMakeLists.txt
@@ -35,6 +35,9 @@ add_entrypoint_library(
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
+
+ # unistd.h entrypoints
+ libc.src.unistd.write
)
add_entrypoint_library(