[libc-commits] [PATCH] D149622: [libc] add socket function
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon May 1 16:29:48 PDT 2023
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.
This patch adds the function "socket" from the header "sys/socket". It's
a simple syscall wrapper, and I plan on adding the related functions in
a followup patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149622
Files:
libc/config/linux/x86_64/entrypoints.txt
libc/include/llvm-libc-macros/linux/sys-socket-macros.h
libc/include/llvm-libc-types/sa_family_t.h
libc/include/llvm-libc-types/struct_sockaddr.h
libc/src/sys/CMakeLists.txt
libc/src/sys/socket/CMakeLists.txt
libc/src/sys/socket/linux/CMakeLists.txt
libc/src/sys/socket/linux/socket.cpp
libc/src/sys/socket/socket.h
libc/test/src/sys/CMakeLists.txt
libc/test/src/sys/socket/CMakeLists.txt
libc/test/src/sys/socket/linux/CMakeLists.txt
libc/test/src/sys/socket/linux/socket_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149622.518599.patch
Type: text/x-patch
Size: 8345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230501/176c5207/attachment.bin>
More information about the libc-commits
mailing list