repo.or.cz
/
umd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Made the source tree a little nicer, added some info for Fedora users.
[umd.git]
/
tests
/
basic.c
blob
2868c94ec4094da579d58849a582076ea15f3b9e
1
#include
"umd.h"
2
#include <stdio.h>
3
#include <unistd.h>
4
5
int
main
(
int
argc
,
char
**
argv
)
6
{
7
if
(
UMD_Init
() <
0
) {
8
fprintf
(
stderr
,
"%s
\n
"
,
UMD_GetError
());
9
return
1
;
10
}
11
12
if
(
UMD_Quit
() <
0
) {
13
fprintf
(
stderr
,
"%s
\n
"
,
UMD_GetError
());
14
return
2
;
15
}
16
17
printf
(
"Test successful!
\n
"
);
18
19
return
0
;
20
}