some fixes to accented characters
[tangerine.git] / rom / dos / newloadseg.c
blob278fba6dfb3250f1c0376485fe1aab448cf9a4b2
1 /*
2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: DOS function NewLoadSeg()
6 Lang: english
8 */
9 #include <dos/dos.h>
10 #include <dos/dosextens.h>
11 #include <utility/tagitem.h>
12 #include <proto/dos.h>
13 #include "dos_intern.h"
15 /*****************************************************************************
17 NAME */
18 #include <proto/dos.h>
20 AROS_LH2(BPTR, NewLoadSeg,
22 /* SYNOPSIS */
23 AROS_LHA(CONST_STRPTR, file, D1),
24 AROS_LHA(struct TagItem *, tags, D2),
26 /* LOCATION */
27 struct DosLibrary *, DOSBase, 128, Dos)
29 /* FUNCTION
30 Loads an executable file into memory via LoadSeg() and takes
31 additional actions based upon the supplied tags.
33 INPUTS
34 file - NULL terminated name of the file
35 tags - pointer to the tagitems
37 RESULT
38 Handle to the loaded executable or 0 if the load failed.
39 IoErr() gives additional information in that case.
41 NOTES
43 EXAMPLE
45 BUGS
46 As there are no tags currently defined, all this function does is
47 call LoadSeg()
49 SEE ALSO
50 LoadSeg(), UnLoadSeg(), InternalLoadSeg(), InternalUnloadSeg()
52 INTERNALS
54 *****************************************************************************/
56 AROS_LIBFUNC_INIT
58 return LoadSeg(file);
60 AROS_LIBFUNC_EXIT
61 } /* NewLoadSeg */