NIO CommKit Host Interface Installation and System Administration Manual
6-18
Porting CommKit Applications To Release 4.x
Programmer-Level Compatibility
ioctl(2)
The list of previously supported ioctl calls is given in Table 6-5 with a
statement on the status of each.
Table 6-5 Previously Supported ioctl System Calls and Their Current Status
System Call Status
DKIODIAL
All of the dial function is now provided by the expanded library function
dkitdial. Refer to the dkitdial example later in this chapter and to the dkdial(3X)
manual page.
DKIOCNEW
The announcement of a server name is now provided by the library function
dkmgr.
DKIOCREQ This function is no longer supported. For all outgoing calls, use the dkitdial
library routine. Refer to the dkitdial example later in this chapter and to the
dkdial(3X) manual page.
DKIOCRMODE
This function is no longer supported.
This Set Receiver Mode ioctl was used to select Block Mode or Character Mode
and allowed the application to specify the timeout period for Character Mode
within a 25-millisecond granularity. The Raw Driver Facility receiver mode for
a circuit is selected solely on the basis of the INIT0 or INIT1 control code
received during circuit initialization.
All incoming URP GOS1 and GOS2 data is available immediately and all URP
GOS5 (block mode) data is available after the appropriate verification and
processing. You can implement the timeout function using a combination of the
poll system call and the O_NODELAY open flag.
DIOCXCTL
In previous releases, the only way an application could transmit an arbitrary
URP level-D code was to use the DIOCXCTL ioctl directive. The specified
level-D code would be transmitted at the end of the next data block, followed by
a possibly zero-length write to force the level-D code to be transmitted in an
URP data block.
This function has been replaced by the dkleveld library function. Refer to the
dkleveld example later in this chapter.