src/libruntime/name.c
/**
 * @todo TODO: provide a detailed description for this function.
 */
@todo TODO: provide a detailed description for this function.
@todo TODO : provide a detailed description for this function .
int __name_setup(void)
{
	if (initialized)
		return (0);
	if ((server = kmailbox_open(NAME_SERVER_NODE)) < 0)
		return (-1);
	nanvix_mutex_init(&lock);
	initialized = true;
	return (0);
}
int __name_setup ( void ) { if ( initialized ) return ( 0 ) ; if ( ( server = kmailbox_open ( NAME_SERVER_NODE ) ) < 0 ) return ( -1 ) ; nanvix_mutex_init ( & lock ) ; initialized = true ; return ( 0 ) ; }
@todo TODO: provide a detailed description for this function.
@todo TODO : provide a detailed description for this function .
/* Nothing to do. */ /* Open connection with Name Server. */