some fixes to accented characters
[tangerine.git] / rom / dos / freedosentry.c
blobe72805f10143fd193e1d9381c559b35a8b88e465
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <proto/exec.h>
9 #include "dos_intern.h"
11 /*****************************************************************************
13 NAME */
14 #include <proto/dos.h>
16 AROS_LH1(void, FreeDosEntry,
18 /* SYNOPSIS */
19 AROS_LHA(struct DosList *, dlist, D1),
21 /* LOCATION */
22 struct DosLibrary *, DOSBase, 117, Dos)
24 /* FUNCTION
25 Free a dos list entry created with MakeDosEntry().
27 INPUTS
28 dlist -- pointer to dos list entry. May be NULL.
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 if (dlist != NULL)
48 /* It's important to free dol_Name here due to BSTR compatibility.
49 See MakeDosEntry() */
50 FreeVec(BADDR(dlist->dol_Name));
51 FreeMem(dlist, sizeof(struct DosList));
54 AROS_LIBFUNC_EXIT
55 } /* FreeDosEntry */