From 1c93d9dcfe95f1bfd6df432f9d6b4b31ff1c06a1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 26 May 2009 18:00:14 +0000 Subject: Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED if library initialization has not been performed calling ares_library_init(). --- ares/ares_init.3 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'ares/ares_init.3') diff --git a/ares/ares_init.3 b/ares/ares_init.3 index f7a7b4a22..360d63914 100644 --- a/ares/ares_init.3 +++ b/ares/ares_init.3 @@ -1,7 +1,7 @@ .\" $Id$ .\" .\" Copyright 1998 by the Massachusetts Institute of Technology. -.\" Copyright (C) 2007-2008 by Daniel Stenberg +.\" Copyright (C) 2004-2009 by Daniel Stenberg .\" .\" Permission to use, copy, modify, and distribute this .\" software and its documentation for any purpose and without @@ -15,7 +15,7 @@ .\" this software for any purpose. It is provided "as is" .\" without express or implied warranty. .\" -.TH ARES_INIT 3 "13 May 2008" +.TH ARES_INIT 3 "26 May 2009" .SH NAME ares_init, ares_init_options \- Initialize a resolver channel .SH SYNOPSIS @@ -184,10 +184,16 @@ A configuration file could not be read. .TP 14 .B ARES_ENOMEM The process's available memory was exhausted. +.TP 14 +.B ARES_ENOTINITIALIZED +c-ares library initialization not yet performed. .SH SEE ALSO .BR ares_destroy(3), -.BR ares_dup(3) +.BR ares_dup(3), +.BR ares_library_init(3) .SH AUTHOR Greg Hudson, MIT Information Systems .br Copyright 1998 by the Massachusetts Institute of Technology. +.br +Copyright (C) 2004-2009 by Daniel Stenberg. -- cgit v1.2.3