(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

void FreeArgs (args)

LOCATION
In DOSBase at offset 143

SYNOPSIS
struct RDArgs * args

FUNCTION
FreeArgs() will clean up after a call to ReadArgs(). If the RDArgs structure was allocated by the system in a call to ReadArgs(), then it will be freed. If however, you allocated the RDArgs structure with AllocDosObject(), then you will have to free it yourself with FreeDosObject().

INPUTS
args
The data used by ReadArgs(). May be NULL, in which case, FreeArgs() does nothing.

RESULT
Some memory will have been returned to the system.

EXAMPLE

SEE ALSO
ReadArgs()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.08.1998 srittau
It is legal to pass a NULL pointer to FreeArgs()!
16.08.1998 iaint
FreeArgs() only frees it when ReadArgs() allocates it
24.12.1997 iaint
Added documentation
27.03.1997 digulla
Avoid crash if args->RDA_DAList is NULL
26.03.1997 digulla
Polish.

Added DOS_RDARGS object

27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS