EDCS Reference Manual
Functions
EDCS ValidNonNullString
extern EDCS_Boolean
EDCS_ValidNonNullString
(
const EDCS_String  *value_ptr,1
EDCS_Boolean  print_error,2
EDCS_Count  *error_count_ptr3
);

Definition

Checks that the given EDCS_String is valid and contains a non-empty string.


Returns

EDCS_TRUE if value_ptr is non-NULL and *value_ptr contains valid information
EDCS_FALSE otherwise

Parameters Notes

1 pointer to EDCS_String, the contents of which are to be checked

2 whether to print error messages

3 pointer to a variable in which the error count for this EDCS_String is stored; if NULL, no counting is performed


Prev: EDCS_ValidLongFloatValue. Next: EDCS_ValidNull. Up:Index.