examples/info.c
/*
 * Auxiliary function to print an array of strings on stdout.
 */
Auxiliary function to print an array of strings on stdout.
Auxiliary function to print an array of strings on stdout .
static void
print_str_array(const char *label, char * const *sa, size_t len)
{
	if (len == 0)
		return;
	printf("%s strings: ", label);
	for (size_t i = 0; i < len; i++)
		printf("%s%s", i > 0 ? ", " : "", sa[i]);
	printf("\n");
}
static void print_str_array ( const char * label , char * const * sa , size_t len ) { if ( len == 0 ) return ; printf ( " " , label ) ; for ( size_t i = 0 ; i < len ; i ++ ) printf ( " " , i > 0 ? " " : " " , sa [ i ] ) ; printf ( " \n " ) ; }
Auxiliary function to print an array of strings on stdout.
Auxiliary function to print an array of strings on stdout .