projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
ctype
/
iswprint.c
1
#include <wctype.h>
2
3
int iswprint(wint_t wc)
4
{
5
unsigned c = wc;
6
/* assume any non-control, non-illegal codepoint is printable */
7
if (c>0x10ffff || c-0xd800<0x800 || (c&0xfffe)==0xfffe || iswcntrl(c))
8
return 0;
9
return 1;
10
}