Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libppath Fix Dt argument, remove trailing whitesp...
details: https://anonhg.NetBSD.org/src/rev/d414f3fe1dd0
branches: trunk
changeset: 768711:d414f3fe1dd0
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Aug 25 15:12:38 2011 +0000
description:
Fix Dt argument, remove trailing whitespace, fix formatting nit.
diffstat:
common/lib/libppath/ppath.3 | 17 ++++++++---------
common/lib/libppath/ppath_bool.3 | 10 +++++-----
common/lib/libppath/ppath_number.3 | 10 +++++-----
common/lib/libppath/ppath_object.3 | 12 ++++++------
4 files changed, 24 insertions(+), 25 deletions(-)
diffs (171 lines):
diff -r 4d49397a67ad -r d414f3fe1dd0 common/lib/libppath/ppath.3
--- a/common/lib/libppath/ppath.3 Thu Aug 25 15:08:49 2011 +0000
+++ b/common/lib/libppath/ppath.3 Thu Aug 25 15:12:38 2011 +0000
@@ -1,5 +1,5 @@
-.\" $NetBSD: ppath.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
-.\" $Id: ppath.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
+.\" $NetBSD: ppath.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
+.\" $Id: ppath.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
.\"
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 24, 2011
-.Dt ppath 3
+.Dt PPATH 3
.Os
.Sh NAME
.Nm ppath ,
@@ -125,7 +125,7 @@
The abstract function
.Fn E
evaluates
-a property-list path against a
+a property-list path against a
.Vt prop_object_t ,
.Va o ,
to yield a
@@ -169,7 +169,6 @@
to paths in a file system, where property arrays and dictionaries
correspond to directories, and all other property types correspond
to files.
-.Pp
.Sh DATA TYPES
.Nm
provides two opaque types:
@@ -177,13 +176,13 @@
.It Vt ppath_component_t
A property-list path component: a single key or index.
.Nm
-counts references to a
+counts references to a
.Vt ppath_component_t
and reclaims its storage when there are no more references.
.It Vt ppath_t
An array of zero or more property-list path components.
.Nm
-counts references to a
+counts references to a
.Vt ppath_t
and reclaims its storage when there are no more references.
.El
@@ -251,13 +250,13 @@
is the empty path or
.Dv NULL ,
return
-.Dv NULL.
+.Dv NULL .
Otherwise, remove the last component from
.Fa p
and return
.Fa p ,
and if
-.Fa pcp
+.Fa pcp
is not
.Dv NULL ,
write the removed component to
diff -r 4d49397a67ad -r d414f3fe1dd0 common/lib/libppath/ppath_bool.3
--- a/common/lib/libppath/ppath_bool.3 Thu Aug 25 15:08:49 2011 +0000
+++ b/common/lib/libppath/ppath_bool.3 Thu Aug 25 15:12:38 2011 +0000
@@ -1,5 +1,5 @@
-.\" $NetBSD: ppath_bool.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
-.\" $Id: ppath_bool.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
+.\" $NetBSD: ppath_bool.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
+.\" $Id: ppath_bool.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
.\"
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 24, 2011
-.Dt ppath_bool 3
+.Dt PPATH_BOOL 3
.Os
.Sh NAME
.Nm ppath_bool ,
@@ -212,8 +212,8 @@
and
.Fn ppath_copyset_bool
return
-.Er ENOMEM
-if there was insufficient memory to complete the operation.
+.Er ENOMEM
+if there was insufficient memory to complete the operation.
.El
.Sh SEE ALSO
.\" Cross-references should be ordered by section (low to high), then in
diff -r 4d49397a67ad -r d414f3fe1dd0 common/lib/libppath/ppath_number.3
--- a/common/lib/libppath/ppath_number.3 Thu Aug 25 15:08:49 2011 +0000
+++ b/common/lib/libppath/ppath_number.3 Thu Aug 25 15:12:38 2011 +0000
@@ -1,5 +1,5 @@
-.\" $NetBSD: ppath_number.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
-.\" $Id: ppath_number.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
+.\" $NetBSD: ppath_number.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
+.\" $Id: ppath_number.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
.\"
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 24, 2011
-.Dt ppath_number 3
+.Dt PPATH_NUMBER 3
.Os
.Sh NAME
.Nm ppath_number ,
@@ -257,8 +257,8 @@
and
.Fn ppath_copyset_uint64
return
-.Er ENOMEM
-if there was insufficient memory to complete the operation.
+.Er ENOMEM
+if there was insufficient memory to complete the operation.
.El
.Sh SEE ALSO
.\" Cross-references should be ordered by section (low to high), then in
diff -r 4d49397a67ad -r d414f3fe1dd0 common/lib/libppath/ppath_object.3
--- a/common/lib/libppath/ppath_object.3 Thu Aug 25 15:08:49 2011 +0000
+++ b/common/lib/libppath/ppath_object.3 Thu Aug 25 15:12:38 2011 +0000
@@ -1,5 +1,5 @@
-.\" $NetBSD: ppath_object.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
-.\" $Id: ppath_object.3,v 1.1 2011/08/25 14:55:36 dyoung Exp $
+.\" $NetBSD: ppath_object.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
+.\" $Id: ppath_object.3,v 1.2 2011/08/25 15:12:38 wiz Exp $
.\"
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 24, 2011
-.Dt ppath_object 3
+.Dt PPATH_OBJECT 3
.Os
.Sh NAME
.Nm ppath_object ,
@@ -237,7 +237,7 @@
.It Bq Er EFTYPE
The
.Nm
-call requested a
+call requested a
.It Bq Er ENOENT
.Fn ppath_copyset_object ,
.Fn ppath_delete_object ,
@@ -255,8 +255,8 @@
and
.Fn ppath_copyset_object
will return
-.Er ENOMEM
-if there was insufficient memory to complete the operation.
+.Er ENOMEM
+if there was insufficient memory to complete the operation.
.El
.Sh SEE ALSO
.\" Cross-references should be ordered by section (low to high), then in
Home |
Main Index |
Thread Index |
Old Index