NIO CommKit Host Interface Installation and System Administration Manual

DKDIAL(3X) DKDIAL(3X)
E-43 CommKit Host Interface, Release 4.0
SEE ALSO
authorize(1M), dkerr(3X), dkty(7)
close(2), open(2), getenv(3), ldterm(7), streamio(7), ttcompat(7) in the UNIX System V System
Administrator’s Reference Manual
DIAGNOSTICS
All calls return a negative number on an error. Unless the external variable dk_verbose had been set to zero,
all calls print an error message on standard error when the call fails.
If the failure of these routines is caused by a system call, a value of ’-1’ is returned and the external variable
errno contains the actual error code. Otherwise, the absolute value of the negative number returned is an error
code found in <dkit/sysexits.h>.
Further details about the reason for the call failure is stored in the external variable dk_errno. See dkerr(3X)
for additional information regarding dk_errno.
BUGS
If the destination is a TY connected device, it is advised to wait one or two seconds after the return of this
routine and before writing data to the channel to avoid data loss.