ocssw
V2022
|
isValidInt.c File Reference
Include dependency graph for isValidInt.c:
Go to the source code of this file.
Functions | |
int | isValidInt (const char *str) |
Function Documentation
◆ isValidInt()
int isValidInt | ( | const char * | str | ) |
check if a string is a valid integer
- Parameters
-
str string to check
- Returns
- 1 if valid int, 0 if not
Definition at line 9 of file isValidInt.c.