source: trunk/sys/dietlibc/wcwidth.c @ 216

Last change on this file since 216 was 1, checked in by alain, 8 years ago

First import

File size: 125 bytes
Line 
1#define _XOPEN_SOURCE
2#include <wchar.h>
3
4int 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.