Skip to content

Commit

Permalink
string: add function for detecting point punctation
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Mazein <[email protected]>
  • Loading branch information
MegaMaddin committed Oct 23, 2020
1 parent 82fb105 commit 8f12e48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ static inline __used int isspace(int c) { return c == ' ' || c == '\t'; }

static inline __used int iseostr(int c) { return c == '\0'; }

static inline __used int ispunct(int c) { return c == '.'; }

static inline __used int isdigit(int c) { return c >= '0' && c <= '9'; }

static inline __used int isxdigit(int c) {
Expand Down

0 comments on commit 8f12e48

Please sign in to comment.