#include <dce/dce_cf.h>void dce_cf_get_cell_name( char **cellname, error_status_t *status);
None.
Possible status codes and their meanings are as follows:
The dce_cf_get_cell_name() routine retrieves the primary name for the local cell. If the name is found, dce_cf_get_cell_name() returns an allocated (by a call to malloc()) copy of it in the cellname input parameter. Use free() to free the allocated copy when you no longer need it.
The DCE 1.0 version of this routine is limited to processing lines of text whose length is less than 1024 characters.
No value is returned.
Functions: dce_cf_free_cell_aliases(3dce), dce_cf_get_cell_aliases(3dce), dce_cf_get_host_name(3dce), dce_cf_prin_name_from_host(3dce).