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