diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-23 00:57:50 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-23 00:57:50 +0000 |
commit | 497afa9acb4d42b4bb186701f0d03a02884ff9b2 (patch) | |
tree | e3fa308b13390cea964fb4d98be523abdef21061 /ares_init.3 | |
parent | 17e6785e05bd19e7cac4aec96b781d5a41974e4b (diff) | |
download | c-ares-497afa9acb4d42b4bb186701f0d03a02884ff9b2.tar.gz c-ares-497afa9acb4d42b4bb186701f0d03a02884ff9b2.tar.bz2 c-ares-497afa9acb4d42b4bb186701f0d03a02884ff9b2.zip |
- Jakub Hrozek fixed more function prototypes in man pages to sync them
with the ones declared in ares.h
Diffstat (limited to 'ares_init.3')
-rw-r--r-- | ares_init.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ares_init.3 b/ares_init.3 index 360d639..596e485 100644 --- a/ares_init.3 +++ b/ares_init.3 @@ -22,8 +22,8 @@ ares_init, ares_init_options \- Initialize a resolver channel .nf .B #include <ares.h> .PP -.B int ares_init(ares_channel *\fIchannel\fP) -.B int ares_init_options(ares_channel *\fIchannel\fP, +.B int ares_init(ares_channel *\fIchannelptr\fP) +.B int ares_init_options(ares_channel *\fIchannelptr\fP, .B struct ares_options *\fIoptions\fP, int \fIoptmask\fP) .PP .B cc file.c -lcares @@ -31,7 +31,7 @@ ares_init, ares_init_options \- Initialize a resolver channel .SH DESCRIPTION The \fBares_init\fP function initializes a communications channel for name service lookups. If it returns successfully, \fBares_init\fP will set the -variable pointed to by \fIchannel\fP to a handle used to identify the name +variable pointed to by \fIchannelptr\fP to a handle used to identify the name service channel. The caller should invoke .BR ares_destroy (3) on the handle when the channel is no longer needed. |