repo.or.cz
/
cake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check if volumes are bootable by checking whether C/Shell is compatible with
[cake.git]
/
test
/
systemtagsslave.c
blob
aa6b494d1ba6f0bea0f183f3377a211fc6539eed
1
#include <proto/dos.h>
2
3
#include <stdio.h>
4
#include <stdlib.h>
5
6
int
main
(
void
)
7
{
8
BPTR oldlock
=
CurrentDir
(
NULL
);
9
BPTR lock
=
DupLock
(
oldlock
);
10
CurrentDir
(
oldlock
);
11
12
system
(
"dir"
);
13
14
lock
=
CurrentDir
(
lock
);
15
UnLock
(
lock
);
16
17
return
0
;
18
}