repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added DataType classes for GEM and Degas pictures.
[AROS.git]
/
test
/
systemtagsslave.c
blob
019d7a4890632021951e121a70708dc7f12362df
1
#include <proto/dos.h>
2
3
#include <stdio.h>
4
#include <stdlib.h>
5
6
int
main
(
void
)
7
{
8
BPTR oldlock
=
CurrentDir
(
BNULL
);
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
}