Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/libmj Add RCS Id, use mo...



details:   https://anonhg.NetBSD.org/src/rev/1388307d3784
branches:  trunk
changeset: 757632:1388307d3784
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Sep 08 22:17:27 2010 +0000

description:
Add RCS Id, use more markup, use standard section headers,
fill in more fields in ECMA-262 reference.

diffstat:

 crypto/external/bsd/netpgp/dist/src/libmj/libmj.3 |  20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diffs (68 lines):

diff -r 6b739933430a -r 1388307d3784 crypto/external/bsd/netpgp/dist/src/libmj/libmj.3
--- a/crypto/external/bsd/netpgp/dist/src/libmj/libmj.3 Wed Sep 08 22:01:29 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/libmj/libmj.3 Wed Sep 08 22:17:27 2010 +0000
@@ -1,3 +1,4 @@
+.\" $NetBSD: libmj.3,v 1.3 2010/09/08 22:17:27 wiz Exp $
 .\"
 .\" Copyright (c) 2010 Alistair Crooks <agc%NetBSD.org@localhost>
 .\" All rights reserved.
@@ -102,7 +103,7 @@
 .Pp
 The
 .Nm
-library can be used to create a string in memory which contains a textutal
+library can be used to create a string in memory which contains a textual
 representation of a number of objects, arbitrarily structured.
 The library can also be used to reconstruct the structure.
 Data can thus be serialised easily and efficiently, and data structures
@@ -158,8 +159,9 @@
 .Fa depth
 and for the formatted output to be followed by a
 .Fa trailer
-string, which is usually NULL for external calls,
-but can be any valid string.
+string, which is usually
+.Dv NULL
+for external calls, but can be any valid string.
 Output is sent to the
 .Fa stream
 file stream.
@@ -188,8 +190,7 @@
 This restriction of values for an integer type may be removed at a later date.
 .Pp
 Within a JSON object, the key values can be iterated over using an integer
-index to access the individual
-JSON objects.
+index to access the individual JSON objects.
 The index can also be found using the
 .Fn mj_object_find
 function.
@@ -202,8 +203,7 @@
 Arrays are implemented as a simple array.
 Thus, to find an object in an array using
 .Fn mj_object_find ,
-a value of 1 should be used as the
-increment value.
+a value of 1 should be used as the increment value.
 This means that every entry in the internal array will be examined,
 and the first match after the starting point will be returned.
 For objects, an incremental value of 2 should be used,
@@ -212,13 +212,17 @@
 .Xr calloc 3 ,
 .Xr free 3
 .Rs
+.%Q Ecma International
+.%D December 2009
+.%T ECMA-262: ECMAScript Language Specification
 .%U http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf
+.%O 5th Edition
 .Re
 .Sh HISTORY
 The
 .Nm
 library first appeared in
 .Nx 6.0 .
-.Sh AUTHOR
+.Sh AUTHORS
 .An Alistair Crooks Aq agc%NetBSD.org@localhost
 wrote this implementation and manual page.



Home | Main Index | Thread Index | Old Index