NASD Programmer's Documentation
Other System Wrappers

There are several interfaces in the common NASD API which do not neatly fit into any single category. Many of these are provided for portability, others for efficiency. Others are provided for general convenience. They are:

operationcall signaturepurpose
nasd_str_to_nasd_id() nasd_status_t nasd_str_to_nasd_id(
  char *str,
  nasd_identifier_t *nidp)
Parse the string str into a NASD identifier, storing the result in *nidp. Returns NASD_BAD_IDENTIFIER if the string cannot be correctly parsed.
nasd_gethostbyname_r() nasd_status_t nasd_gethostbyname_r(
  char *hostname,
  struct hostent *hep)
Convert hostname into a valid hostent structure in a thread-safe manner.

<--- ---> ^<br>|<br>|
Shutdown lists Client programming overview NASD Programmer's Documentation