Changeset ace588a in mainline
- Timestamp:
- 2011-08-24T20:31:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c065743
- Parents:
- ebddd71
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/str.c
rebddd71 race588a 366 366 367 367 return false; 368 }369 370 /** Check whether wide string is plain ASCII.371 *372 * @return True if wide string is plain ASCII.373 *374 */375 bool wstr_is_ascii(const wchar_t *wstr)376 {377 while (*wstr && ascii_check(*wstr))378 wstr++;379 return *wstr == 0;380 368 } 381 369 -
uspace/lib/c/include/str.h
rebddd71 race588a 72 72 extern bool ascii_check(wchar_t ch); 73 73 extern bool chr_check(wchar_t ch); 74 extern bool wstr_is_ascii(const wchar_t *wstr);75 74 76 75 extern int str_cmp(const char *s1, const char *s2);
Note:
See TracChangeset
for help on using the changeset viewer.