do it right
[unix-history] / usr / src / share / man / man5 / networks.5
CommitLineData
3da09958
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
3c288ae4 5.\" @(#)networks.5 6.2 (Berkeley) %G%
3da09958 6.\"
80946118 7.TH NETWORKS 5 ""
3da09958
KM
8.UC 5
9.SH NAME
10networks \- network name data base
11.SH DESCRIPTION
12The
13.I networks
14file contains information regarding
15the known networks which comprise the DARPA Internet.
16For each network a single line should be present with the following information:
17.HP 10
18official network name
19.br
20.ns
21.HP 10
22network number
23.br
24.ns
25.HP 10
26aliases
27.PP
28Items are separated by any number of blanks and/or tab characters.
29A ``#'' indicates the beginning of a comment; characters up to the end of
30the line are not interpreted by routines which search the file.
31This file is normally created from the official network data base
32maintained at the Network Information Control Center (NIC), though local
33changes may be required to bring it up to date regarding unofficial aliases
34and/or unknown networks.
35.PP
36Network number may be specified in the conventional
37``.'' notation using the \fIinet_network\fP() routine
38from the Internet address manipulation library,
39.IR inet (3N).
40Network names may contain any printable character other than a field
41delimiter, newline, or comment character.
42.SH FILES
43/etc/networks
44.SH "SEE ALSO"
45getnetent(3N)
46.SH BUGS
47A name server should be used instead of a static file.