Table of Contents

NAME

SYNOPSIS

DESCRIPTION

returns the current for the specified socket. The parameter should be initialized to indicate the amount of space pointed to by On return it contains the actual size of the name returned (in bytes).

DIAGNOSTICS

A 0 is returned if the call succeeds, -1 if it fails.

ERRORS

The call succeeds unless: The argument is not a valid descriptor. The argument is a file, not a socket. Insufficient resources were available in the system to perform the operation. The parameter points to memory not in a valid part of the process address space.

SEE ALSO

BUGS

Names bound to sockets in the UNIX domain are inaccessible; returns a zero length name.

HISTORY

The function call appeared in


Table of Contents