diff options
author | Yang Tse <yangsita@gmail.com> | 2010-03-11 18:53:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-03-11 18:53:42 +0000 |
commit | 52cd332b954eda192815bb950d3937aa3f10050f (patch) | |
tree | 01a786bfdb19c1b80efdb5326fa988c57e52683b /ares/ares_getsock.3 | |
parent | 3709ffc700060e9cfee6968ea6a60cce92977d89 (diff) |
fix compiler warning
Diffstat (limited to 'ares/ares_getsock.3')
-rw-r--r-- | ares/ares_getsock.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ares/ares_getsock.3 b/ares/ares_getsock.3 index 57254cd36..ef07fb923 100644 --- a/ares/ares_getsock.3 +++ b/ares/ares_getsock.3 @@ -14,25 +14,25 @@ .\" this software for any purpose. It is provided "as is" .\" without express or implied warranty. .\" -.TH ARES_GETSOCK 3 "22 December 2005" +.TH ARES_GETSOCK 3 "11 March 2010" .SH NAME -ares_getsock \- get file descriptors to wait on +ares_getsock \- get socket descriptors to wait on .SH SYNOPSIS .nf .B #include <ares.h> .PP -.B int ares_getsock(ares_channel \fIchannel\fP, int *\fIsocks\fP, +.B int ares_getsock(ares_channel \fIchannel\fP, ares_socket_t *\fIsocks\fP, .B int \fInumsocks\fP); .fi .SH DESCRIPTION The .B ares_getsock -function retrieves the set of file descriptors which the calling +function retrieves the set of socket descriptors which the calling application should wait on for reading and/or writing for the processing of name service queries pending on the name service channel identified by .IR channel . -File descriptors will be set in the integer array pointed to by +Socket descriptors will be set in the socket descriptor array pointed to by \fIsocks\fP. \fInumsocks\fP is the size of the given array in number of ints. |