socket_family_to_name(3ncs)
Name
socket_family_to_name − convert an integer address family to a textual name
Syntax
#include <idl/c/socket.h>
void socket_$family_to_name(family, name, nlength, status)
unsigned long family;
socket_$string_t name;
unsigned long *nlength;
status_$t *status;
Arguments
family The integer representation of an address family.
name The textual name of family. Currently, only ip is supported.
nlength On input, the maximum length, in bytes, of the name to be returned. On output, the actual length of the returned name.
status The completion status. If the completion status returned in status.all is equal to status_$ok , then the routine that supplied it was successful.
Description
The socket_$family_to_name routine converts the integer representation of an address family to a textual name for the family.
Files
/usr/include/idl/socket.idl
/usr/include/idl/c/socket.h