and errno pointers as arguments and uses these for the result.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the hostname to resolve </td></tr>
    <tr><td class="paramname">ret</td><td>pre-allocated struct where to store the result </td></tr>
    <tr><td class="paramname">buf</td><td>pre-allocated buffer where to store additional data </td></tr>
    <tr><td class="paramname">buflen</td><td>the size of buf </td></tr>
    <tr><td class="par