NIO CommKit Host Interface Installation and System Administration Manual

5-4
Programming with the CommKit Function Library
CommKit Software Function Library
You can create a CommKit-capable application by calling the single
CommKit function dkdial(). The dkdial() function returns a file descriptor
that you can use in read(), write(), and close() calls.
To compile and link a program that uses the CommKit functions, use a
command like this one:
# cc -o
outputFileName sourceFileName
-ldk
If you want to create a 64-bit application, add the compiler option +DD64 to
the command above.
For more information on the CommKit software functions, refer to the
manual pages, which are available online and also in Appendix E,
“CommKit Manual Pages”.
dktsplice(3X)
Transparent splice facility
dktr_splice(),
dktr_osplice(),
dktr_call()
dkurpctl(3X)
Control the URP initialization of an AT&T data switch
connection
dkset_no_ainit(),
dkset_one_ainit()
dk_uxinfo(3X)
Get and set information about an AT&T data switch
connection
dk_uxinfo()
maphost(3X)
Map destination name to an AT&T data switch
dialstring
maphost(),
miscfield()
Table 5-1 Standard CommKit Library Functions
Cover Function Description Included Function