Retrieves a list of all known global names.
- ec is the ei_cnode representing the current cnode.
- fd is an open descriptor to an Erlang connection.
- 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 count to the number of names found. The array is terminated by a single NULL pointer. On failure, the function returns 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 malloc(), so a single free() is all that is necessary.