.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH IF_NAMEINDEX 3 2017-09-15 "GNU" "Linux Programmer's Manual"
+.TH IF_NAMEINDEX 3 2019-03-06 "GNU" "Linux Programmer's Manual"
.SH NAME
if_nameindex, if_freenameindex \- get network interface names and indexes
.SH SYNOPSIS
POSIX.1-2001, POSIX.1-2008, RFC\ 3493.
.PP
This function first appeared in BSDi.
-.SH EXAMPLE
+.SH EXAMPLES
The program below demonstrates the use of the functions described
on this page.
An example of the output this program might produce is the following:
}
for (i = if_ni; ! (i\->if_index == 0 && i\->if_name == NULL); i++)
- printf("%u: %s\\n", i\->if_index, i\->if_name);
+ printf("%u: %s\en", i\->if_index, i\->if_name);
if_freenameindex(if_ni);