Skip to content

Commit 71925a9

Browse files
[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.
1 parent 65ffa53 commit 71925a9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

libc/include/sys/ioctl.yaml

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

0 commit comments

Comments
 (0)