From 72a11f23ebbbc204213c8b339e32ed6082d5ea50 Mon Sep 17 00:00:00 2001
From: Patrik Nyblom
To unregister with epmd, simply close the returned
- descriptor. See also
On success, the functions return a descriptor connecting the
calling process to epmd. On failure, they return -1 and set
This function can be called by a process to unregister a
- specified node from epmd on the localhost. This may be
- useful, for example, when epmd has not detected the failure of a
- node, and will not allow the name to be reused. If you use this
- function to unregister your own process, be sure to also close
- the descriptor that was returned by
Careless use of this function may have unpredictable - results, if the registered node is in fact still running.
-To unregister a node you have published, you should
+ close the descriptor that was returned by
+
This function is deprecated and will be removed in a future + release.
+If the node was successfully unregistered from epmd, the
function returns 0. Otherwise, it returns -1 and sets
diff --git a/lib/erl_interface/doc/src/erl_connect.xml b/lib/erl_interface/doc/src/erl_connect.xml
index b2235925b2..bd5e637244 100644
--- a/lib/erl_interface/doc/src/erl_connect.xml
+++ b/lib/erl_interface/doc/src/erl_connect.xml
@@ -4,7 +4,7 @@
To unregister with epmd, simply close the returned
- descriptor. See also On success, the functions return a descriptor connecting the
calling process to epmd. On failure, they return -1 and set
@@ -507,21 +507,24 @@ typedef struct {
This function can be called by a process to unregister a
- specified node name from epmd on the localhost. This may be
- useful, for example, when epmd has not detected the failure of a
- node, and will not allow the name to be reused. If you use this
- function to unregister your own process, be sure to also close
- the descriptor that was returned by
Careless use of this function may have unpredictable - results, if the registered node is in fact still running.
-This function can be called by a process to unregister a + specified node from epmd on the localhost. This is however usually not + allowed, unless epmd was started with the -relaxed_command_check + flag, which it normally isn't.
+ +To unregister a node you have published, you should instead
+ close the descriptor that was returned by
+
This function is deprecated and will be removed in a future + release.
+If the node was successfully unregistered from epmd, the -- cgit v1.2.3