socket_valid_family.3ncs
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 49 行
3NCS
49 行
.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 + =
减小字号Ctrl + -
显示快捷键?