projects
/
platform
/
upstream
/
kbd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.0.90
[platform/upstream/kbd.git]
/
tests
/
libkeymap-test03.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <string.h>
4
#include <error.h>
5
#include <errno.h>
6
7
#include <keymap.h>
8
9
int
10
main(void)
11
{
12
struct lk_ctx *ctx;
13
14
if ((ctx = lk_init()) == NULL)
15
error(EXIT_FAILURE, 0, "Unable to initialize structure by valid pointer");
16
17
lk_free(ctx);
18
19
return EXIT_SUCCESS;
20
}