2 Copyright © 2019, The AROS Development Team. All rights reserved.
6 #include <aros/debug.h>
8 #include <proto/exec.h>
10 #include <proto/arosx.h>
12 struct Library
*AROSXBase
;
14 int main (int argc
, char *argv
[]) {
16 AROSXBase
= OpenLibrary("arosx.library", 0);
19 Printf("arosx.library opened, version %ld.%ld\n", AROSXBase
->lib_Version
, AROSXBase
->lib_Revision
);
21 CloseLibrary(AROSXBase
);
23 PutStr("arosx.library failed to open.\n");