From owner-svn-src-head@FreeBSD.ORG Fri Nov 16 15:02:35 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C95BF8F2; Fri, 16 Nov 2012 15:02:35 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 950CB8FC14; Fri, 16 Nov 2012 15:02:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAGF2ZNo009515; Fri, 16 Nov 2012 15:02:35 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAGF2Z0K009511; Fri, 16 Nov 2012 15:02:35 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201211161502.qAGF2Z0K009511@svn.freebsd.org> From: Kevin Lo Date: Fri, 16 Nov 2012 15:02:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243156 - head/lib/libc/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 15:02:35 -0000 Author: kevlo Date: Fri Nov 16 15:02:35 2012 New Revision: 243156 URL: http://svnweb.freebsd.org/changeset/base/243156 Log: - the preferred way to write a NULL pointer constant is with NULL - whitespace nit Reviewed by: glebius Modified: head/lib/libc/net/getnetent.3 head/lib/libc/net/getprotoent.3 head/lib/libc/net/getservent.3 Modified: head/lib/libc/net/getnetent.3 ============================================================================== --- head/lib/libc/net/getnetent.3 Fri Nov 16 14:46:32 2012 (r243155) +++ head/lib/libc/net/getnetent.3 Fri Nov 16 15:02:35 2012 (r243156) @@ -73,7 +73,7 @@ The order of the lookups is controlled b `networks' entry in .Xr nsswitch.conf 5 . .Bd -literal -offset indent -struct netent { +struct netent { char *n_name; /* official name of net */ char **n_aliases; /* alias list */ int n_addrtype; /* net number type */ @@ -142,8 +142,7 @@ Network numbers are supplied in host ord .It Pa /etc/resolv.conf .El .Sh DIAGNOSTICS -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh SEE ALSO Modified: head/lib/libc/net/getprotoent.3 ============================================================================== --- head/lib/libc/net/getprotoent.3 Fri Nov 16 14:46:32 2012 (r243155) +++ head/lib/libc/net/getprotoent.3 Fri Nov 16 15:02:35 2012 (r243156) @@ -65,7 +65,7 @@ containing the broken-out fields of a line in the network protocol data base, .Pa /etc/protocols . .Bd -literal -offset indent -struct protoent { +struct protoent { char *p_name; /* official name of protocol */ char **p_aliases; /* alias list */ int p_proto; /* protocol number */ @@ -117,8 +117,7 @@ or until .Dv EOF is encountered. .Sh RETURN VALUES -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh FILES Modified: head/lib/libc/net/getservent.3 ============================================================================== --- head/lib/libc/net/getservent.3 Fri Nov 16 14:46:32 2012 (r243155) +++ head/lib/libc/net/getservent.3 Fri Nov 16 15:02:35 2012 (r243156) @@ -65,7 +65,7 @@ containing the broken-out fields of a line in the network services data base, .Pa /etc/services . .Bd -literal -offset indent -struct servent { +struct servent { char *s_name; /* official name of service */ char **s_aliases; /* alias list */ int s_port; /* port service resides at */ @@ -130,8 +130,7 @@ searches must also match the protocol. .It Pa /etc/services .El .Sh DIAGNOSTICS -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh SEE ALSO