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
Listtree.mcc: make creation of tree node symmetrical to other proxied operations
[AROS.git]
/
test
/
systemtagsslave.c
blob
6a5d4303f0dbb3e7d9251ba6020c5d34e7b977a3
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <proto/dos.h>
7
8
#include <stdio.h>
9
#include <stdlib.h>
10
11
int
main
(
void
)
12
{
13
BPTR oldlock
=
CurrentDir
(
BNULL
);
14
BPTR lock
=
DupLock
(
oldlock
);
15
CurrentDir
(
oldlock
);
16
17
system
(
"dir"
);
18
19
lock
=
CurrentDir
(
lock
);
20
UnLock
(
lock
);
21
22
return
0
;
23
}