.BI "int ioctl(int " fd ", int " cmd ", ...);"
.SH DESCRIPTION
The
-.BR ioctl ()
+.BR ioctl (2)
call for terminals and serial ports accepts many possible command arguments.
Most require a third argument, of varying type, here called \fIargp\fP
or \fIarg\fP.
.\" Set serial info.
.SH "RETURN VALUE"
The
-.BR ioctl ()
+.BR ioctl (2)
system call returns 0 on success.
On error it returns \-1 and sets
.I errno