Update BUGS section to note the possibility of a truncated return value.

This commit is contained in:
pgoyette 2016-12-07 03:22:14 +00:00
parent 2067ca0866
commit dfa0a7c726
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: linkaddr.3,v 1.10 2003/08/07 16:43:11 agc Exp $
.\" $NetBSD: linkaddr.3,v 1.11 2016/12/07 03:22:14 pgoyette Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\"
.\" @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
.\"
.Dd July 28, 1993
.Dd December 7, 2016
.Dt LINK_ADDR 3
.Os
.Sh NAME
@ -115,6 +115,10 @@ functions appeared in
The returned values for
.Fn link_ntoa
reside in a static memory area.
If the returned value would overflow this area,
.Fn link_ntoa
truncates the returned string.
There is no provision for detecting a truncated return value.
.Pp
The function
.Fn link_addr