Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion libc/include/sys/ioctl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ macros: []
types: []
enums: []
objects: []
functions: []
functions:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should fix the "standards" list here while we're making this header usable. POSIX definitely does not specify ioctl or <sys/ioctl.h>. Both bsd and linux are reasonable things to list here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Linux.

I didn't add anything originally given https://man7.org/linux/man-pages/man2/ioctl.2.html doesn't mention any standards, but it is a Linux syscall.

- name: ioctl
standards:
- Linux
return_type: int
arguments:
- type: int
- type: unsigned long
- type: '...'
Loading