zabbix-agent2/tests/zbxmocktime.c
/******************************************************************************
 *                                                                            *
 * Function: ts_get_component_end                                             *
 *                                                                            *
 * Purpose: finds the next character after numeric time component             *
 *                                                                            *
 * Parameters: text - [IN] the text                                           *
 *                                                                            *
 * Return value: text after the time component                                *
 *                                                                            *
 * Comments: If the first character is not a digit the source text is         *
 *           returned.                                                        *
 *                                                                            *
 ******************************************************************************/
ts_get_component_end

Purpose: finds the next character after numeric time component

Parameters: text - [IN] the text

Return value: text after the time component

Comments: If the first character is not a digit the source text is
returned.
ts_get_component_end Purpose : finds the next character after numeric time component Parameters : text - [ IN ] the text Return value : text after the time component Comments : If the first character is not a digit the source text is returned .
static const char	*ts_get_component_end(const char *text)
{
	while (0 != isdigit(*text))
		text++;
	return text;
}
static const char * ts_get_component_end ( const char * text ) { while ( 0 != isdigit ( * text ) ) text ++ ; return text ; }
Function: ts_get_component_end                                             
                                                                            
 Purpose: finds the next character after numeric time component             
                                                                            
 Parameters: text - [IN] the text                                           
                                                                            
 Return value: text after the time component                                
                                                                            
 Comments: If the first character is not a digit the source text is         
           returned.
Function : ts_get_component_end Purpose : finds the next character after numeric time component Parameters : text - [ IN ] the text Return value : text after the time component Comments : If the first character is not a digit the source text is returned .