1 #include <aros/libcall.h>
3 /*****************************************************************************
6 #include <proto/hostlib.h>
8 AROS_LH1(void, HostLib_FreeErrorStr
,
11 AROS_LHA(char *, error
, A0
),
14 APTR
, HostLibBase
, 4, HostLib
)
17 Release error description string.
18 In some dynamic library loaders (like in Windows) error strings
19 are allocated dynamically. They need to be explicitly freed
20 when not used any more.
23 error - Pointer to a string ro free.
29 For portability sake, it is recommended to call this function on any
30 error string returned by hostlib.resource. However you can omit this
31 if you exactly know that your code runs only on UNIX-alike operating
32 system (it's UNIX-specific library or driver).
42 *****************************************************************************/
46 /* Our error strings are static, there's nothing to do here */