2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <aros/libcall.h>
8 /*****************************************************************************
11 #include <proto/hostlib.h>
13 AROS_LH1(void, HostLib_FreeErrorStr
,
16 AROS_LHA(char *, error
, A0
),
19 APTR
, HostLibBase
, 4, HostLib
)
22 Release error description string.
23 In some dynamic library loaders (like in Windows) error strings
24 are allocated dynamically. They need to be explicitly freed
25 when not used any more.
28 error - Pointer to a string ro free.
34 For portability sake, it is recommended to call this function on any
35 error string returned by hostlib.resource. However you can omit this
36 if you exactly know that your code runs only on UNIX-alike operating
37 system (it's UNIX-specific library or driver).
47 *****************************************************************************/
51 /* Our error strings are static, there's nothing to do here */