DEADSOFTWARE
GIT
/
REPO
/
FRED-BOY
Projects
/
bbcp.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Dev/Docu added from original BlackBox 1.6-rc6
[bbcp.git]
/
new
/
_LinuxOpenBSD_
/
Lin
/
Rsrc
/
loader
/
dev0.c
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
int
main
(
int
argc
,
char
*
argv
[])
5
{
6
void
*
h
;
7
int
res
;
8
9
h
=
dlopen
(
"libBB0.so"
,
RTLD_LAZY
|
RTLD_GLOBAL
);
10
if
(
h
!=
NULL
) {
11
res
=
0
;
12
}
else
{
13
perror
(
dlerror
());
14
res
=
1
;
15
}
16
17
return
res
;
18
}