diff options
author | delphij <delphij@FreeBSD.org> | 2007-06-14 07:13:28 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-06-14 07:13:28 +0000 |
commit | 687b4ebc1a6ad4c42fd9c704edd2eeb36d700ba4 (patch) | |
tree | 5499a5a1c9adc888dfad16a42918098269cca4c5 /lib/libc/net/inet.3 | |
parent | 9790f8d691dfa4d3c180c16eb2987d4963e7e5c8 (diff) | |
download | FreeBSD-src-687b4ebc1a6ad4c42fd9c704edd2eeb36d700ba4.zip FreeBSD-src-687b4ebc1a6ad4c42fd9c704edd2eeb36d700ba4.tar.gz |
Require users to provide a length information for inet_ntoa_r,
this is common on other platforms.
Reported by: pointyhat via kris
Diffstat (limited to 'lib/libc/net/inet.3')
-rw-r--r-- | lib/libc/net/inet.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3 index d6428c9..af48143 100644 --- a/lib/libc/net/inet.3 +++ b/lib/libc/net/inet.3 @@ -28,7 +28,7 @@ .\" From: @(#)inet.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd June 11, 2007 +.Dd June 14, 2007 .Dt INET 3 .Os .Sh NAME @@ -62,6 +62,7 @@ .Fo inet_ntoa_r .Fa "struct in_addr in" .Fa "char *buf" +.Fa "socklen_t size" .Fc .Ft const char * .Fo inet_ntop @@ -156,7 +157,6 @@ The routine .Fn inet_ntoa_r is the reentrant version of .Fn inet_ntoa . -It requires a buffer large enough to contain an IPv4 address. The routine .Fn inet_makeaddr takes an Internet network number and a local |