int vortex_support_getenv_int ( const char *  env_name)

Allows to get the integer value stored in the provided environment varible.

The function tries to get the content from the environment variable, and return the integer content that it is representing. The function asumes the environment variable provides has a numeric value.

The variable numeric value. If the variable is not defined, then 0 will be returned.

Referenced by vortex_color_log_is_enabled(), vortex_connection_get_connect_timeout(), vortex_connection_get_timeout(), vortex_log2_is_enabled(), vortex_log_is_enabled(), and vortex_thread_pool_get_num().