COHERENT manpages

This page displays the COHERENT manpage for SOCKADDRLEN() [Return length of an address].

List of available manpages
Index


SOCKADDRLEN() -- Sockets Function (libsocket)

Return length of an address
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
int SOCKADDRLEN(address)
struct sockaddr *address;

Function   SOCKADDRLEN()  returns   the   size,  in   bytes,  of   address-
>sa_family.   This helps  a program  distinguish between  a UNIX  and an
Internet address.

See Also

libsocket

Notes

COHERENT implements SOCKADDRLEN() as a function rather than as a macro.