Date: Wed, 4 Oct 2017 06:06:22 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324249 - head/lib/libc/net Message-ID: <201710040606.v9466MFk061918@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Oct 4 06:06:22 2017 New Revision: 324249 URL: https://svnweb.freebsd.org/changeset/base/324249 Log: Clarify the wording describing the stayopen flag. MFC after: 1 week Modified: head/lib/libc/net/gethostbyname.3 Modified: head/lib/libc/net/gethostbyname.3 ============================================================================== --- head/lib/libc/net/gethostbyname.3 Wed Oct 4 03:39:54 2017 (r324248) +++ head/lib/libc/net/gethostbyname.3 Wed Oct 4 06:06:22 2017 (r324249) @@ -28,7 +28,7 @@ .\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95 .\" $FreeBSD$ .\" -.Dd May 12, 2006 +.Dd October 4, 2017 .Dt GETHOSTBYNAME 3 .Os .Sh NAME @@ -189,19 +189,18 @@ function may be used to request the use of a connected .Tn TCP socket for queries. -If the +Queries will by defaulat use +.Tn UDP +datagrams. If the .Fa stayopen -flag is non-zero, -this sets the option to send all queries to the name server using +flag is non-zero, a .Tn TCP -and to retain the connection after each call to +connection to the name server will be used. It will remain open after calls to .Fn gethostbyname , .Fn gethostbyname2 or -.Fn gethostbyaddr . -Otherwise, queries are performed using -.Tn UDP -datagrams. +.Fn gethostbyaddr +have completed. .Pp The .Fn endhostent
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710040606.v9466MFk061918>