repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make asn1 work again
[factor/jcg.git]
/
vm
/
os-netbsd.c
blob
c33b4ad69c965857a57c050c2514913b484d3bd0
1
#include
"master.h"
2
3
extern
int
main
();
4
5
const char
*
vm_executable_path
(
void
)
6
{
7
static
Dl_info info
= {
0
};
8
if
(!
info
.
dli_fname
)
9
dladdr
(
main
, &
info
);
10
return
info
.
dli_fname
;
11
}