[libc-commits] [libc] 71925a9 - [libc] Setup hdrgen for ioctl (#153976)
via libc-commits
libc-commits at lists.llvm.org
Sun Aug 17 08:52:33 PDT 2025
Author: Aiden Grossman
Date: 2025-08-17T08:52:29-07:00
New Revision: 71925a90c8b713d8fccbfae496e10c68f80b932b
URL: https://github.com/llvm/llvm-project/commit/71925a90c8b713d8fccbfae496e10c68f80b932b
DIFF: https://github.com/llvm/llvm-project/commit/71925a90c8b713d8fccbfae496e10c68f80b932b.diff
LOG: [libc] Setup hdrgen for ioctl (#153976)
This patch adds some hdrgen yaml for ioctl(). Otherwise the function
never actually ends up being available in a full build. This is the last
thing that is needed to enable turning on LIBCXX_ENABLE_RANDOM_DEVICE.
Added:
Modified:
libc/include/sys/ioctl.yaml
Removed:
################################################################################
diff --git a/libc/include/sys/ioctl.yaml b/libc/include/sys/ioctl.yaml
index 5f7b7f333191e..7eb66b657664a 100644
--- a/libc/include/sys/ioctl.yaml
+++ b/libc/include/sys/ioctl.yaml
@@ -5,4 +5,12 @@ macros: []
types: []
enums: []
objects: []
-functions: []
+functions:
+ - name: ioctl
+ standards:
+ - Linux
+ return_type: int
+ arguments:
+ - type: int
+ - type: unsigned long
+ - type: '...'
More information about the libc-commits
mailing list