Autodoc formatting fixes.
[AROS.git] / arch / all-hosted / hostlib / freeerrorstr.c
blob5d970255debf713468a70d807c8d50567d33aaad
1 #include <aros/libcall.h>
3 /*****************************************************************************
5 NAME */
6 #include <proto/hostlib.h>
8 AROS_LH1(void, HostLib_FreeErrorStr,
10 /* SYNOPSIS */
11 AROS_LHA(char *, error, A0),
13 /* LOCATION */
14 APTR, HostLibBase, 4, HostLib)
16 /* FUNCTION
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.
22 INPUTS
23 error - Pointer to a string ro free.
25 RESULT
26 None.
28 NOTES
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).
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 /* Our error strings are static, there's nothing to do here */
48 AROS_LIBFUNC_EXIT