Changeset ace588a in mainline for uspace/lib/c/generic/str.c


Ignore:
Timestamp:
2011-08-24T20:31:28Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c065743
Parents:
ebddd71
Message:

Remove wstr_is_ascii().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str.c

    rebddd71 race588a  
    366366       
    367367        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;
    380368}
    381369
Note: See TracChangeset for help on using the changeset viewer.