ioctl.2: Mention EACCES

ioctls can fail with EACCES, see sys/kern/tty.c

PR:			239504
MFC after:		3 days
Reviewed by:		ziaee
Reported by:		Brennan Vincent <brennan@umanwizard.com>
Differential Revision:	https://reviews.freebsd.org/D49072
This commit is contained in:
Felix Johnson
2025-12-29 14:21:26 -05:00
committed by Alexander Ziaee
parent c6bd2aa835
commit e2afbc4525
+4 -1
View File
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd September 11, 2013
.Dd December 29, 2025
.Dt IOCTL 2
.Os
.Sh NAME
@@ -110,6 +110,9 @@ The
system call
will fail if:
.Bl -tag -width Er
.It Bq Er EACCES
The process does not have permission to call this
.Nm .
.It Bq Er EBADF
The
.Fa fd