HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Imported Upstream version 0.66.1
[hcoop/debian/courier-authlib.git]
/
libs
/
unicode
/
graphemetest.c
1
/*
2
** Copyright 2011 Double Precision, Inc.
3
** See COPYING for distribution information.
4
**
5
*/
6
7
#include
"unicode_config.h"
8
#include
"unicode.h"
9
#include <string.h>
10
#include <stdlib.h>
11
#include <stdio.h>
12
#include <errno.h>
13
14
15
int
main
(
int
argc
,
char
**
argv
)
16
{
17
if
(
argc
>=
3
)
18
{
19
printf
(
"%d
\n
"
,
20
unicode_grapheme_break
(
strtol
(
argv
[
1
],
NULL
,
0
),
21
strtol
(
argv
[
2
],
NULL
,
0
)));
22
}
23
return
(
0
);
24
}