内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (3065 KB)
protocols(4)Name | Synopsis | Description | Examples | Files | See Also | Notes Name
Synopsis/etc/inet/protocols /etc/protocols DescriptionThe protocols file is a local source of information regarding the known protocols used in the DARPA Internet. The protocols file can be used in conjunction with or instead of other protocols sources, including the NIS maps ``protcols.byname'' and “protocols.bynumber” and the NIS+ table ``protocols''. Programs use the getprotobyname(3SOCKET) routine to access this information. The protocols file has one line for each protocol. The line has the following format: official-protocol-name protocol-number aliases Items are separated by any number of blanks and/or TAB characters. A `#' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file. Protocol names may contain any printable character other than a field delimiter, NEWLINE, or comment character. ExamplesExample 1 A Sample DatabaseThe following is a sample database:
FilesSee AlsoNotes/etc/inet/protocols is the official SVR4 name of the protocols file. The symbolic link /etc/protocols exists for BSD compatibility. Name | Synopsis | Description | Examples | Files | See Also | Notes |
|