From 7f237ebf67c24d4bec111f04dd81a83c83fd76f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Thu, 20 Oct 2016 17:09:13 +0200 Subject: erl_interface: Fix broken links in documentation --- lib/erl_interface/doc/src/ei_connect.xml | 2 +- lib/erl_interface/doc/src/ei_users_guide.xml | 6 +++--- lib/erl_interface/doc/src/erl_interface.xml | 5 ++--- lib/erl_interface/doc/src/erl_malloc.xml | 2 +- lib/erl_interface/doc/src/registry.xml | 4 ++-- 5 files changed, 9 insertions(+), 10 deletions(-) (limited to 'lib/erl_interface/doc/src') diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 06b54dbff4..be34fb7c53 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -292,7 +292,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) {

Used to set tracing on the distribution. The levels are different verbosity levels. A higher level means more information. See also - section + section Debug Information.

These functions are not thread safe.

diff --git a/lib/erl_interface/doc/src/ei_users_guide.xml b/lib/erl_interface/doc/src/ei_users_guide.xml index e6f4acb55f..2c82f9ae7f 100644 --- a/lib/erl_interface/doc/src/ei_users_guide.xml +++ b/lib/erl_interface/doc/src/ei_users_guide.xml @@ -45,7 +45,7 @@ storage Communication between C nodes and Erlang processes Backup and restore of C node state to and from - Mnesia + Mnesia

By default, the Erl_Interface libraries are only guaranteed @@ -207,7 +207,7 @@ i = erl_encode(tuple, buf); ]]>

- + Building Terms and Patterns

The previous example can be simplified by using the erl_format module @@ -733,7 +733,7 @@ ei_reg_close(reg); ]]>

Backing Up the Registry to Mnesia

The contents of a registry can be backed up to - Mnesia on a "nearby" Erlang + Mnesia on a "nearby" Erlang node. You must provide an open connection to the Erlang node (see erl_connect). Also, Mnesia 3.0 or later must be running diff --git a/lib/erl_interface/doc/src/erl_interface.xml b/lib/erl_interface/doc/src/erl_interface.xml index 2a3831cf0f..ab5b46cc01 100644 --- a/lib/erl_interface/doc/src/erl_interface.xml +++ b/lib/erl_interface/doc/src/erl_interface.xml @@ -153,7 +153,7 @@ i = erl_encode(tuple, buf); ]]>

Building Terms and Patterns -

The previous example can be simplified by using +

The previous example can be simplified by using to create an Erlang term.

As in previous examples, it is your responsibility to free the - memory allocated for Erlang terms. In this example, + memory allocated for Erlang terms. In this example, ensures that the complete term pointed to by is released. This is necessary, because the pointer from the second call to is lost.

@@ -623,4 +623,3 @@ ei_reg_restore(fd, reg, "mtab"); ]]>
- diff --git a/lib/erl_interface/doc/src/erl_malloc.xml b/lib/erl_interface/doc/src/erl_malloc.xml index 2892afdf01..e08924ec51 100644 --- a/lib/erl_interface/doc/src/erl_malloc.xml +++ b/lib/erl_interface/doc/src/erl_malloc.xml @@ -173,7 +173,7 @@ subterms associated with a specified Erlang term, regardless of whether we are still holding pointers to the subterms.

For an example, see section - Building Terms and Patterns + Building Terms and Patterns in the User's Guide.

diff --git a/lib/erl_interface/doc/src/registry.xml b/lib/erl_interface/doc/src/registry.xml index 14b31d91a6..00b8f770de 100644 --- a/lib/erl_interface/doc/src/registry.xml +++ b/lib/erl_interface/doc/src/registry.xml @@ -37,7 +37,7 @@

This module provides support for storing key-value pairs in a table known as a registry, backing up registries to - Mnesia + Mnesia in an atomic manner, and later restoring the contents of a registry from Mnesia.

@@ -107,7 +107,7 @@ where the backed up data is to be placed. If the table does not exist, it is created automatically using configurable defaults. For information about configuring this behavior, see - Mnesia. + Mnesia.

If is 0, the backup includes only those objects that have been created, modified, or deleted since the -- cgit v1.2.3