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
r6308@lvps87-230-33-50: verhaegs | 2007-12-03 22:24:30 +0100
[AROS.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
}