NIO CommKit Host Interface Installation and System Administration Manual
6-11
Porting CommKit Applications To Release 4.x
Programmer-Level Compatibility
portable to future releases of the CommKit software. The library is delivered
as a dynamically linked shared object library, so that you do not need to
recompile or relink your applications when you install a new version of the
CommKit software.
Because the CommKit software library is now a dynamically linked shared
library, its name has been changed from /usr/lib/libdk.a to /usr/lib/libdk.sl.
However, you still access the library in the same way, by including -ldk on
the compilation command line.
The static library is only updated with new application releases of the
CommKit software. With the dynamic binding shared library (libdk.so),
however, you do not need a new application release and you do not need to
link edit your applications again. Therefore, the shared library (libdk.so) is
recommended over the static library (libdk.a).
Table 6-5 describes the new library routines.
Table 6-4 Supported Library Routines
Manual Page Function Description
dk_flush(3X) dk_flush()
Modifies the handling of user data queued for transmission when
the CommKit software connection is closed. You can now wait for
the default time interval, specify a time interval, or wait until all
data has been received by the URP receiver at the remote end of
the connection.
dk_info(3X) dk_info()
Retrieves or sets information about an open connection. At
present, the information returned is limited to the CommKit
interface board number, the data switch channel number, the URP
window size, and the number of URP blocks outstanding. The
information that you can set is limited to the URP window size and
the number of outstanding URP blocks.
dk_namer(3X) dk_namer()
Converts a CommKit interface board number and a data switch
channel number to the device name under /dev/dk for the raw
interface.
dk_namer(3X) dk_tnamer()
Converts a CommKit interface board number and a data switch
channel number to the device name under /dev/dkt for the TTY
interface.