.\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
+.\" Author: Ulrich Drepper <drepper@redhat.com>
.\"
.\" %%%LICENSE_START(GPLv2_MISC)
.\" This copyrighted material is made available to anyone wishing to use,
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" <http://www.gnu.org/licenses/>.
-.\" %%%END_LICENSE
+.\" %%%LICENSE_END
.\"
-.\" Author: Ulrich Drepper <drepper@redhat.com>
-.TH GAI.CONF 5 2013-02-13 "Linux" "Linux Programmer's Manual"
+.TH GAI.CONF 5 2016-03-15 "Linux" "Linux Programmer's Manual"
.SH NAME
gai.conf \- getaddrinfo(3) configuration file
.SH DESCRIPTION
.TP
\fBlabel\fR \fInetmask\fR \fIprecedence\fR
The value is added to the label table used in the RFC\ 3484 sorting.
-If any \fBlabel\fR definition is present in the configuration file
-is present, the default table is not used.
+If any \fBlabel\fR definition is present in the configuration file,
+the default table is not used.
All the label definitions
of the default table which are to be maintained have to be duplicated.
Following the keyword,
-the line has to contain a network mask and a label value.
+the line has to contain a network mask and a precedence value.
.TP
\fBprecedence\fR \fInetmask\fR \fIprecedence\fR
-This keyword is similar to \fBlabel\fR, but instead the value is added
+This keyword is similar to \fBlabel\fR, but instead the value is added
to the precedence table as specified in RFC\ 3484.
Once again, the
presence of a single \fBprecedence\fR line in the configuration file
This keyword controls whether a process checks whether the configuration
file has been changed since the last time it was read.
If the value is
-"\fByes\fR" the file is re-read.
-This might cause problems in multi-threaded
+"\fByes\fR", the file is reread.
+This might cause problems in multithreaded
applications and is generally a bad idea.
The default is "\fBno\fR".
.TP
Changing these defaults should hardly ever be necessary.
.SH FILES
\fI/etc/gai.conf\fR
+.SH VERSIONS
+The
+.I gai.conf
+.\" Added in 2006
+file is supported by glibc since version 2.5.
.SH EXAMPLE
The default table according to RFC\ 3484 would be specified with the
following configuration file:
.\" Ulrich Drepper <drepper@redhat.com>
.\"
.SH SEE ALSO
-.BR getaddrinfo(3),
+.BR getaddrinfo (3),
RFC\ 3484