![]() |
![]()
| ![]() |
![]()
NAMExt_strisint() - Return true if string represents an integer value LIBRARY#include <xtend/string.h> -lxtend SYNOPSISint xt_strisint(const char *string, int base) ARGUMENTSstring: The string to be tested base: The expected base of the integer (usually 8, 10, or 16) DESCRIPTIONDetermine whether a string is a valid integer by attempting to convert it using strtoll(). RETURN VALUESNon-zero value if the string represents an integer, zero otherwise SEE ALSOstrtoll(3)
|