Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

socket_transport_name_get(2) OSS System Calls Reference Manual
stack; check with your TCP/IP administrator to determine your sites naming conventions before
using this function to distinguish between stacks.
RETURN VALUES
Upon successful completion, the socket_transport_name_get() function returns the value 0
(zero). Otherwise, the value -1 is returned and errno is set to indicate the error.
ERRORS
If any of the following conditions occurs, the socket_transport_name_get() function sets errno
to the corresponding value:
[EDEFINEERR]
One of the following conditions occurred:
The Guardian DEFINE =TCPIPˆPROCESSˆNAME is invalid.
The Guardian DEFINE =_AFUNIX_PROCESS_NAME is invalid.
[EFAULT] The address specified for the buffer parameter is not valid.
[EINVAL] One of the following conditions occurred:
The domain parameter does not specify a supported domain.
The buffer specified by the buffer and maxlen parameters is too small to
hold the transport-provider process name.
RELATED INFORMATION
Functions: socket_transport_name_set(2), socket(2), socketpair(2).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 specification.
7126 Hewlett-Packard Company 527186-023