HP-UX Reference (11i v1 05/09) - 3 Library Functions N-Z (vol 7)
t
t_open(3) t_open(3)
Obsolescent Interfaces
When using TCP and UDP through HP XTI, name can be
/dev/inet_cots
and /dev/inet_clts,
respectively. These names are supported for backward-compatibility purposes. They might not be sup-
ported in future releases, and they should be replaced with
/dev/tcp and /dev/udp, respectively.
RETURN VALUE
A valid endpoint identifier is returned upon successful completion. Otherwise, a value of −1 is returned and
t_errno is set to indicate an error.
HP OSI does not support the T_COTS_ORD
servtype.
ERRORS
On error,
t_errno is set to one of the following:
[TBADFLAG] An invalid flag is specified.
[TBADNAME] Invalid transport provider name.
[TSYSERR] A system error has occurred during execution of this function.
[TPROTO] (XTI only) This error indicates that a communication problem has been detected between
XTI and the transport provider for which there is no suitable XTI (t_errno).
SEE ALSO
open(2), t_sync(3).
STANDARDS CONFORMANCE
t_open(): SVID2, XPG3, XPG4
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 3−−969