Bug 239504

Summary: ioctl(2) man page doesn't mention that it can fail with EACCES
Product: Documentation Reporter: Brennan Vincent <brennan>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: doc
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Brennan Vincent 2019-07-28 21:04:03 UTC
`ioctl` can fail with EACCES; for example:

https://github.com/freebsd/freebsd/blob/master/sys/kern/tty.c#L1874

But `man 2 ioctl` only lists EBADF, ENOTTY, EINVAL, and EFAULT.