📄 socket_valid_family.3ncs
字号:
.TH socket_valid_family 3ncs.SH Namesocket_valid_family \- check whether an address family is valid.SH Syntax#include <idl/c/socket.h>boolean socket_$valid_family(\fIfamily, status\fP).nfunsigned long \fIfamily\fP;fBstatus_$t *\fIstatus\fP;.fi.\".SH SYNOPSIS (PASCAL).\".DS.\"\fB%include '/usr/include/idl/pas/socket.ins.pas'\fR.\".\"\fBfunction socket_$valid_family(\fR.\" \fBin \fIfamily\fB: unsigned32;\fR.\" \fBout \fIstatus\fB: status_$t): boolean;\fR.\".DE.SH Arguments.TP 20\fIfamily\fRThe integer representation of an address family..TP 20\fIstatus\fRThe completion status. If the completion status returned in.PN status\&.allis equal to.B status_$ok ,then the routine that supplied it was successful..SH DescriptionThe .PN socket_$valid_familyroutine returns `true' if the specified address family is validfor the calling host, `false' if not valid..NXR "Operations on Socket Addresses" "socket_valid_family".SH ExamplesThe following routine checks whether \fBsocket_$internet\fRis a valid address family:.EXinternetvalid = socket_$valid_family(socket_$internet, &status);.EE.SH Files.PN /usr/include/idl/socket.idl.br.PN /usr/include/idl/c/socket.h.SH See Alsointro(3ncs), socket_valid_families(3ncs)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -