📄 lwres_gai_strerror.3
字号:
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC").\" Copyright (C) 2000, 2001 Internet Software Consortium..\".\" Permission to use, copy, modify, and distribute this software for any.\" purpose with or without fee is hereby granted, provided that the above.\" copyright notice and this permission notice appear in all copies..\".\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR.\" PERFORMANCE OF THIS SOFTWARE..\".\" $Id: lwres_gai_strerror.3,v 1.13.2.1.8.1 2004/03/06 07:41:43 marka Exp $.\".TH "LWRES_GAI_STRERROR" "3" "Jun 30, 2000" "BIND9" "".SH NAMEgai_strerror \- print suitable error string.SH SYNOPSIS\fB#include <lwres/netdb.h>.sp.nachar *gai_strerror(int ecode);.ad\fR.SH "DESCRIPTION".PP\fBlwres_gai_strerror()\fRreturns an error message corresponding to an error code returned by\fBgetaddrinfo()\fR.The following error codes and their meaning are defined in\fIinclude/lwres/netdb.h\fR..TP\fBEAI_ADDRFAMILY\fRaddress family for hostname not supported.TP\fBEAI_AGAIN\fRtemporary failure in name resolution.TP\fBEAI_BADFLAGS\fRinvalid value forai_flags.TP\fBEAI_FAIL\fRnon-recoverable failure in name resolution.TP\fBEAI_FAMILY\fRai_family not supported.TP\fBEAI_MEMORY\fRmemory allocation failure.TP\fBEAI_NODATA\fRno address associated with hostname.TP\fBEAI_NONAME\fRhostname or servname not provided, or not known.TP\fBEAI_SERVICE\fRservname not supported for ai_socktype.TP\fBEAI_SOCKTYPE\fRai_socktype not supported.TP\fBEAI_SYSTEM\fRsystem error returned in errno.PPThe message \fBinvalid error code\fR is returned if\fIecode\fRis out of range..PPai_flags,ai_familyandai_socktypeare elements of the\fBstruct addrinfo\fRused by\fBlwres_getaddrinfo()\fR..SH "SEE ALSO".PP\fBstrerror\fR(3),\fBlwres_getaddrinfo\fR(3),\fBgetaddrinfo\fR(3),\fBRFC2133\fR.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -