Skip to content

Commit 2fafbd3

Browse files
[libc] Setup hdrgen for ioctl
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.
1 parent 351d398 commit 2fafbd3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

libc/include/sys/ioctl.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ macros: []
55
types: []
66
enums: []
77
objects: []
8-
functions: []
8+
functions:
9+
- name: ioctl
10+
return_type: int
11+
arguments:
12+
- type: int
13+
- type: unsigned long
14+
- type: '...'

0 commit comments

Comments
 (0)