t6rhdb_get_host(3N)

t6rhdb_get_host - TSIX Remote Host DataBase get host information

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     t6rhdb_get_host - TSIX Remote Host DataBase get host information

SYNOPSIS
     cc [ flags ... ] file -lt6

     #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 for length size.
     into data.

RETURN VALUE
     Upon successful completion, t6rhdb_get_host() will return zero.  If the
     specific entry does not exist, the function will return EINVAL.  If the
     pointer addr sent to t6rhdb_get_host() is invalid or the pointer received
     from remote host is invalid, the function will return EFAULT.

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