Introduction
Introduction Statistics Contact Development Disclaimer Help
u.h - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
u.h (554B)
---
1 #include <fcntl.h>
2 #include <inttypes.h>
3 #include <limits.h>
4 #include <locale.h>
5 #include <stdbool.h>
6 #include <setjmp.h>
7 #include <stdint.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <sys/types.h>
12 #include <unistd.h>
13 #include <wchar.h>
14 #include <wctype.h>
15
16 #define utflen(s) (mbstowcs(NULL, (s), 0))
17 #define fullrune(s, n) (mbtowc(NULL, (s), (n)) >= 0)
18 #define runetochar(s, r) (wctomb((s), (r)))
19 #define runelen(r) (wctomb(NULL, (r)))
20 #define UNICODE_REPLACEMENT_CHAR 0xfffd
21
22 int chartorune(wchar_t *, char *);
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.