t6rhdb_get_host(3N)

t6rhdb_get_host - TSIX Remote Host DataBase get host information

As shipped in IRIX 6.5.15. Last changed in IRIX 6.5.15.

NAME
     t6rhdb_get_host - TSIX Remote Host DataBase get host information

SYNOPSIS
     cc [ flags ... ] file

     #include <sys/t6attrs.h>

     int t6rhdb_get_host(struct in_addr *addr, size_t size, caddr_t data)

DESCRIPTION
     t6rhdb_get_host returns information pointed to by addr of length size,
     into data.

CAPABILITIES
     A process calling this function must have CAP_NETWORK_MGT capability in
     the effective vector of its capability set.

RETURN VALUE
     Upon successful completion, t6rhdb_get_host will return zero. Otherwise
     the appropriate error code will be returned.

ERROR
     [EINVAL]       Invalid entry.

     [EFAULT]       Invalid pointer.

SEE ALSO
     libt6(3N), t6rhdb_put_host(3N), t6rhdb_flush(3N), t6rhdb_stat(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES