From 5f5fb466630db9dc8e17895c90ed74105852e827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Fri, 21 Oct 2016 15:44:49 +0200 Subject: erl_interface: Remove CDATA tag except for example code --- lib/erl_interface/doc/src/erl_global.xml | 42 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'lib/erl_interface/doc/src/erl_global.xml') diff --git a/lib/erl_interface/doc/src/erl_global.xml b/lib/erl_interface/doc/src/erl_global.xml index 0808ea0eee..2fa0045adf 100644 --- a/lib/erl_interface/doc/src/erl_global.xml +++ b/lib/erl_interface/doc/src/erl_global.xml @@ -57,23 +57,23 @@

Retrieves a list of all known global names.

- is an open descriptor to an Erlang + fd is an open descriptor to an Erlang connection. - is the address of an integer, or - NULL. If is not NULL, it is + count is the address of an integer, or + NULL. If count is not NULL, it is set by the function to the number of names found.

On success, the function returns an array of strings, each containing a single registered name, and sets - to + count to the number of names found. The array is terminated by a single NULL pointer. On failure, the function returns - NULL and is not modified.

+ NULL and count is not modified.

It is the caller's responsibility to free the array afterwards. It has been allocated by the function with a - single call to , so a single - is all that is necessary.

+ single call to malloc(), so a single + free() is all that is necessary.

@@ -89,13 +89,13 @@

Registers a name in global.

- is an open descriptor to an Erlang + fd is an open descriptor to an Erlang connection. - is the name to register in + name is the name to register in global. - is the pid that is to be associated with - . This value is returned by global - when processes request the location of . + pid is the pid that is to be associated with + name. This value is returned by global + when processes request the location of name.

Returns 0 on success, otherwise -1.

@@ -112,9 +112,9 @@

Unregisters a name from global.

- is an open descriptor to an Erlang + fd is an open descriptor to an Erlang connection. - is the name to unregister from + name is the name to unregister from global.

Returns 0 on success, otherwise -1.

@@ -132,19 +132,19 @@

Looks up a name in global.

- is an open descriptor to an Erlang + fd is an open descriptor to an Erlang connection. - is the name that is to be looked up in + name is the name that is to be looked up in global. -

If is not NULL, it is a pointer to a +

If node is not NULL, it is a pointer to a buffer where the function can fill in the name of the node where - is found. can be - passed directly to if necessary.

+ name is found. node can be + passed directly to erl_connect() if necessary.

On success, the function returns an Erlang pid containing the address of the specified name, and the node is initialized to - the node name where is found. On failure, - NULL is returned and is not + the node name where name is found. On failure, + NULL is returned and node is not modified.

-- cgit v1.2.3