1.05
[platform/upstream/kbd.git] / src / clrunimap.c
1 /*
2  * clrunimap.c
3  *
4  * Note: nowadays this kills kernel console output!
5  */
6
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <fcntl.h>
10 #include <linux/kd.h>
11 #include "kdmapop.h"
12 #include "getfd.h"
13 #include "nls.h"
14
15 int
16 main(int argc, char *argv[]) {
17         int fd;
18
19         setlocale(LC_ALL, "");
20         bindtextdomain(PACKAGE, LOCALEDIR);
21         textdomain(PACKAGE);
22
23         fd = getfd();
24
25         return loadunimap (fd, NULL, NULL);
26 }