2 Copyright © 2010-2013, The AROS Development Team. All rights reserved.
5 Additional startup code for stdcio.library that is executed during
6 init of a program that uses the library.
7 This file is thus not part of stdcio.library but is used by the
8 startup section in stdcio.conf
11 #include <proto/stdc.h>
12 #include <proto/stdcio.h>
13 #include <libraries/stdcio.h>
16 #include <aros/debug.h>
18 static int __stdcio_startup(void)
20 struct StdCIOBase
*StdCIOBase
= __aros_getbase_StdCIOBase();
22 StdCIOBase
->StdCBase
= __aros_getbase_StdCBase();
24 D(bug("[__stdcio_startup]StdCIOBase->StdCBase = %p\n",
28 return StdCIOBase
->StdCBase
!= NULL
;
31 ADD2INIT(__stdcio_startup
, -50);