Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Remove comma after last Nm entry.
details: https://anonhg.NetBSD.org/src/rev/5a5ccf5344b7
branches: trunk
changeset: 357073:5a5ccf5344b7
user: abhinav <abhinav%NetBSD.org@localhost>
date: Wed Oct 25 16:13:04 2017 +0000
description:
Remove comma after last Nm entry.
New sentence, new line
diffstat:
lib/libc/net/ethers.3 | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 77349335d1a8 -r 5a5ccf5344b7 lib/libc/net/ethers.3
--- a/lib/libc/net/ethers.3 Wed Oct 25 16:09:46 2017 +0000
+++ b/lib/libc/net/ethers.3 Wed Oct 25 16:13:04 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ethers.3,v 1.13 2003/04/16 13:34:41 wiz Exp $
+.\" $NetBSD: ethers.3,v 1.14 2017/10/25 16:13:04 abhinav Exp $
.\"
.\" Written by roland%frob.com@localhost. Public domain.
.\"
@@ -10,7 +10,7 @@
.Nm ether_aton ,
.Nm ether_ntohost ,
.Nm ether_hostton ,
-.Nm ether_line ,
+.Nm ether_line
.Nd get ethers entry
.Sh LIBRARY
.Lb libc
@@ -42,12 +42,14 @@
.Fn ether_ntoa
function converts this structure into an ASCII string of the form
``xx:xx:xx:xx:xx:xx'', consisting of 6 hexadecimal numbers separated
-by colons. It returns a pointer to a static buffer that is reused for
+by colons.
+It returns a pointer to a static buffer that is reused for
each call.
The
.Fn ether_aton
converts an ASCII string of the same form and to a structure
-containing the 6 octets of the address. It returns a pointer to a
+containing the 6 octets of the address.
+It returns a pointer to a
static structure that is reused for each call.
.Pp
The
@@ -64,7 +66,8 @@
The
.Fn ether_hostton
function looks up the given host name and writes the associated
-Ethernet address into the structure passed. Both functions return
+Ethernet address into the structure passed.
+Both functions return
zero if they find the requested host name or address, and -1 if not.
Each call reads
.Pa /etc/ethers
@@ -83,8 +86,8 @@
function parses a line from the
.Pa /etc/ethers
file and fills in the passed ``struct ether_addr'' and character
-buffer with the Ethernet address and host name on the line. It
-returns zero if the line was successfully parsed and -1 if not.
+buffer with the Ethernet address and host name on the line.
+It returns zero if the line was successfully parsed and -1 if not.
.Pp
The
.Fa hostname
Home |
Main Index |
Thread Index |
Old Index