source:
trunk/sys/dietlibc/wcwidth.c
@
378
Last change on this file since 378 was 1, checked in by , 8 years ago | |
---|---|
File size: 125 bytes |
Line | |
---|---|
1 | #define _XOPEN_SOURCE |
2 | #include <wchar.h> |
3 | |
4 | int wcwidth(wchar_t c) { |
5 | if (!c) return 0; |
6 | if (c<' ') return -1; |
7 | return 1; |
8 | } |
Note: See TracBrowser
for help on using the repository browser.