On success, eui64_ntoa returns a pointer to a string containing an ASCII representation of an EUI-64. If it is unable to convert the supplied
.Vt eui64 structure, it returns a NULL pointer. Likewise, eui64_aton returns a pointer to an
.Vt eui64 structure on success and a NULL pointer on failure.
The eui64_ntohost and eui64_hostton functions both return zero on success or non-zero if they were unable to find a match in the /etc/eui64 database.
The user must insure that the hostname strings passed to the eui64_ntohost and eui64_hostton functions are large enough to contain the returned hostnames.
If the /etc/eui64 contains a line with a single + in it, the eui64_ntohost and eui64_hostton functions will attempt to consult the NIS eui64.byname and eui64.byid maps in addition to the data in the /etc/eui64 file.
firewire(4), eui64(5), yp(8)