elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
string
/
strcspn.c
File editor
/* strcspn.c */ /* from Schumacher's Atari library, improved */ #include <string.h> size_t strcspn(const char *string, const char *set) /* * Return the length of the sub-string of <string> that consists * entirely of characters not found in <set>. The terminating '\0' * in <set> is not considered part of the match set. If the first * character if <string> is in <set>, 0 is returned. */ { const char *setptr; const char *start; start = string; while (*string) { setptr = set; do if (*setptr == *string) goto break2; while (*setptr++); ++string; } break2: return string - start; }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history