Logo Search packages:      
Sourcecode: uaputl version File versions  Download package

int ISDIGIT ( char *  x ) [inline]

isdigit for String.

Parameters:
xchar string
Returns:
UAP_FAILURE for non-digit. UAP_SUCCESS for digit

Definition at line 4476 of file uaputl.c.

References UAP_FAILURE, and UAP_SUCCESS.

Referenced by apcmd_cfg_data(), apcmd_power_mode(), apcmd_sta_filter_table(), apcmd_sys_cfg_antenna_ctl(), apcmd_sys_cfg_cipher(), apcmd_sys_cfg_custom_ie(), apcmd_sys_cfg_wep_key(), apcmd_sys_config_profile(), and is_input_valid().

{
    int i;
    for (i = 0; i < strlen(x); i++)
        if (isdigit(x[i]) == 0)
            return UAP_FAILURE;
    return UAP_SUCCESS;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index