⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lwres_gai_strerror.3

📁 bind 源码 最新实现 linux/unix/windows平台
💻 3
字号:
.\" Copyright (C) 2004, 2005 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.5 2005/10/13 02:33:52 marka Exp $.\".hy 0.ad l.\" ** You probably do not want to edit this file directly **.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1)..\" Instead of manually editing it, you probably should edit the DocBook XML.\" source for it and then use the DocBook XSL Stylesheets to regenerate it..TH "LWRES_GAI_STRERROR" "3" "Jun 30, 2000" "BIND9" "BIND9".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"gai_strerror \- print suitable error string.SH "SYNOPSIS".nf#include <lwres/netdb.h>.fi.HP 20\fBchar\ *\ \fBgai_strerror\fR\fR\fB(\fR\fBint\ ecode\fR\fB);\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 for\fBai_flags\fR.TP\fBEAI_FAIL\fRnon\-recoverable failure in name resolution.TP\fBEAI_FAMILY\fR\fBai_family\fRnot 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\fBai_socktype\fR.TP\fBEAI_SOCKTYPE\fR\fBai_socktype\fRnot supported.TP\fBEAI_SYSTEM\fRsystem error returned in errnoThe messageinvalid error codeis returned if\fIecode\fRis out of range..PP\fBai_flags\fR,\fBai_family\fRand\fBai_socktype\fRare 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 + -