update man pages to render better for man2html

pull/321/head
Brad House 5 years ago
parent 077a587dcc
commit 82a187d299
  1. 6
      ares_freeaddrinfo.3
  2. 18
      ares_getaddrinfo.3

@ -18,9 +18,9 @@
ares_freeaddrinfo \- Free addrinfo structure allocated by ares functions ares_freeaddrinfo \- Free addrinfo structure allocated by ares functions
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
.B #include <ares.h> #include <ares.h>
.PP
.B void ares_freeaddrinfo(struct ares_addrinfo *\fIai\fP) void ares_freeaddrinfo(struct ares_addrinfo *\fIai\fP)
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
The The

@ -18,14 +18,16 @@
ares_getaddrinfo \- Initiate a host query by name and service ares_getaddrinfo \- Initiate a host query by name and service
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
.B #include <ares.h> #include <ares.h>
.PP
.B typedef void (*ares_addrinfo_callback)(void *\fIarg\fP, int \fIstatus\fP, typedef void (*ares_addrinfo_callback)(void *\fIarg\fP, int \fIstatus\fP,
.B int \fItimeouts\fP, struct ares_addrinfo *\fIresult\fP) int \fItimeouts\fP,
.PP struct ares_addrinfo *\fIresult\fP)
.B void ares_getaddrinfo(ares_channel \fIchannel\fP, const char *\fIname\fP,
.B const char* \fIservice\fP, const struct ares_addrinfo_hints *\fIhints\fP, void ares_getaddrinfo(ares_channel \fIchannel\fP, const char *\fIname\fP,
.B ares_addrinfo_callback \fIcallback\fP, void *\fIarg\fP) const char* \fIservice\fP,
const struct ares_addrinfo_hints *\fIhints\fP,
ares_addrinfo_callback \fIcallback\fP, void *\fIarg\fP)
.fi .fi
.SH DESCRIPTION .SH DESCRIPTION
The The

Loading…
Cancel
Save