diff options
Diffstat (limited to 'lib/erl_interface/doc/src/erl_global.xml')
-rw-r--r-- | lib/erl_interface/doc/src/erl_global.xml | 42 |
1 files changed, 21 insertions, 21 deletions
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 @@ <desc> <p>Retrieves a list of all known global names.</p> <list type="bulleted"> - <item><c><![CDATA[fd]]></c> is an open descriptor to an Erlang + <item><c>fd</c> is an open descriptor to an Erlang connection.</item> - <item><c><![CDATA[count]]></c> is the address of an integer, or - <c>NULL</c>. If <c><![CDATA[count]]></c> is not <c>NULL</c>, it is + <item><c>count</c> is the address of an integer, or + <c>NULL</c>. If <c>count</c> is not <c>NULL</c>, it is set by the function to the number of names found.</item> </list> <p>On success, the function returns an array of strings, each containing a single registered name, and sets - <c><![CDATA[count]]></c> to + <c>count</c> to the number of names found. The array is terminated by a single <c>NULL</c> pointer. On failure, the function returns - <c>NULL</c> and <c><![CDATA[count]]></c> is not modified.</p> + <c>NULL</c> and <c>count</c> is not modified.</p> <note> <p>It is the caller's responsibility to free the array afterwards. It has been allocated by the function with a - single call to <c><![CDATA[malloc()]]></c>, so a single - <c><![CDATA[free()]]></c> is all that is necessary.</p> + single call to <c>malloc()</c>, so a single + <c>free()</c> is all that is necessary.</p> </note> </desc> </func> @@ -89,13 +89,13 @@ <desc> <p>Registers a name in <c>global</c>.</p> <list type="bulleted"> - <item><c><![CDATA[fd]]></c> is an open descriptor to an Erlang + <item><c>fd</c> is an open descriptor to an Erlang connection.</item> - <item><c><![CDATA[name]]></c> is the name to register in + <item><c>name</c> is the name to register in <c>global</c>.</item> - <item><c><![CDATA[pid]]></c> is the pid that is to be associated with - <c><![CDATA[name]]></c>. This value is returned by <c>global</c> - when processes request the location of <c><![CDATA[name]]></c>. + <item><c>pid</c> is the pid that is to be associated with + <c>name</c>. This value is returned by <c>global</c> + when processes request the location of <c>name</c>. </item> </list> <p>Returns <c>0</c> on success, otherwise <c>-1</c>.</p> @@ -112,9 +112,9 @@ <desc> <p>Unregisters a name from <c>global</c>.</p> <list type="bulleted"> - <item><c><![CDATA[fd]]></c> is an open descriptor to an Erlang + <item><c>fd</c> is an open descriptor to an Erlang connection.</item> - <item><c><![CDATA[name]]></c> is the name to unregister from + <item><c>name</c> is the name to unregister from <c>global</c>.</item> </list> <p>Returns <c>0</c> on success, otherwise <c>-1</c>.</p> @@ -132,19 +132,19 @@ <desc> <p>Looks up a name in <c>global</c>.</p> <list type="bulleted"> - <item><c><![CDATA[fd]]></c> is an open descriptor to an Erlang + <item><c>fd</c> is an open descriptor to an Erlang connection.</item> - <item><c><![CDATA[name]]></c> is the name that is to be looked up in + <item><c>name</c> is the name that is to be looked up in <c>global</c>.</item> </list> - <p>If <c><![CDATA[node]]></c> is not <c>NULL</c>, it is a pointer to a + <p>If <c>node</c> is not <c>NULL</c>, it is a pointer to a buffer where the function can fill in the name of the node where - <c><![CDATA[name]]></c> is found. <c><![CDATA[node]]></c> can be - passed directly to <c><![CDATA[erl_connect()]]></c> if necessary.</p> + <c>name</c> is found. <c>node</c> can be + passed directly to <c>erl_connect()</c> if necessary.</p> <p>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 <c><![CDATA[name]]></c> is found. On failure, - <c>NULL</c> is returned and <c><![CDATA[node]]></c> is not + the node name where <c>name</c> is found. On failure, + <c>NULL</c> is returned and <c>node</c> is not modified.</p> </desc> </func> |