From owner-svn-src-all@FreeBSD.ORG Wed Apr 21 16:41:02 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C94E1065677; Wed, 21 Apr 2010 16:41:02 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C5F88FC20; Wed, 21 Apr 2010 16:41:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3LGf2It008704; Wed, 21 Apr 2010 16:41:02 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3LGf2jB008702; Wed, 21 Apr 2010 16:41:02 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201004211641.o3LGf2jB008702@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 21 Apr 2010 16:41:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206998 - head/lib/libc/stdlib X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 16:41:02 -0000 Author: kib Date: Wed Apr 21 16:41:02 2010 New Revision: 206998 URL: http://svn.freebsd.org/changeset/base/206998 Log: Add standards section, improve wording, taking into account the handling of NULL and changed type in declaration. Suggested by: bde MFC after: 2 weeks Modified: head/lib/libc/stdlib/realpath.3 Modified: head/lib/libc/stdlib/realpath.3 ============================================================================== --- head/lib/libc/stdlib/realpath.3 Wed Apr 21 16:38:37 2010 (r206997) +++ head/lib/libc/stdlib/realpath.3 Wed Apr 21 16:41:02 2010 (r206998) @@ -94,14 +94,11 @@ If an error occurs, .Fn realpath returns .Dv NULL , -and -.Fa resolved_path -contains the pathname which caused the problem. -If +and if .Fa resolved_path -was +is not .Dv NULL , -then information of the failed pathname component is lost. +the array that it points to contains the pathname which caused the problem. .Sh ERRORS The function .Fn realpath @@ -126,6 +123,11 @@ when given a relative .Fa pathname . .Sh "SEE ALSO" .Xr getcwd 3 +.Sh STANDARDS +The +.Fn realpath +function conforms to +.St -p1003.1-2001 . .Sh HISTORY The .Fn realpath