X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/5450561dd2204b89d9ed3fc926798126805e03cc..eadcc84a99820050d2d0c87363ce944a92f69051:/usr/src/share/man/man5/protocols.5 diff --git a/usr/src/share/man/man5/protocols.5 b/usr/src/share/man/man5/protocols.5 index 22f31f755a..0017b6793e 100644 --- a/usr/src/share/man/man5/protocols.5 +++ b/usr/src/share/man/man5/protocols.5 @@ -1,42 +1,51 @@ -.\" Copyright (c) 1983 The Regents of the University of California. +.\" Copyright (c) 1983, 1991 The Regents of the University of California. .\" All rights reserved. .\" -.\" %sccs.include.redist.man% +.\" %sccs.include.redist.roff% .\" -.\" @(#)protocols.5 6.4 (Berkeley) %G% +.\" @(#)protocols.5 6.5 (Berkeley) %G% .\" -.TH PROTOCOLS 5 "" -.UC 5 -.SH NAME -protocols \- protocol name data base -.SH DESCRIPTION +.Dd +.Dt PROTOCOLS 5 +.Os BSD 4.2 +.Sh NAME +.Nm protocols +.Nd protocol name data base +.Sh DESCRIPTION The -.I protocols -file contains information regarding the known protocols used in the DARPA +.Nm protocols +file contains information regarding the known protocols used in the +.Tn DARPA Internet. For each protocol a single line should be present with the following information: -.HP 10 +.Bd -unfilled -offset indent official protocol name -.br -.ns -.HP 10 protocol number -.br -.ns -.HP 10 aliases -.PP +.Ed +.Pp 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. -.PP +.Pp Protocol names may contain any printable character other than a field delimiter, newline, or comment character. -.SH FILES -/etc/protocols -.SH "SEE ALSO" -getprotoent(3N) -.SH BUGS +.Sh FILES +.Bl -tag -width /etc/protocols -compact +.It Pa /etc/protocols +The +.Nm protocols +file resides in +.Pa /etc . +.El +.Sh SEE ALSO +.Xr getprotoent 3 +.Sh BUGS A name server should be used instead of a static file. +.Sh HISTORY +The +.Nm +file format appeared in +.Bx 4.2 .