grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / dos / cliinitnewcli.c
blob12db7e683a65947457d4a11962c2d2ff86ccba2f
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
8 #include "dos_intern.h"
10 #include "dos_newcliproc.h"
12 /*****************************************************************************
14 NAME */
15 #include <dos/dosextens.h>
16 #include <proto/dos.h>
18 AROS_LH1(IPTR, CliInitNewcli,
20 /* SYNOPSIS */
21 AROS_LHA(struct DosPacket *, dp, A0),
23 /* LOCATION */
24 struct DosLibrary *, DOSBase, 155, Dos)
26 /* FUNCTION
27 Set up a process to be a shell using a startup packet.
29 INPUTS
30 packet -- startup arguments that were passed to the shell
31 If NULL, defaults will be used
33 RESULT
35 NOTES
36 Called to initialize CLI private data structures, when
37 the User Shell is in interactive mode.
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 CliInitRun()
47 INTERNALS
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 return internal_CliInitAny(dp, DOSBase);
55 AROS_LIBFUNC_EXIT
56 } /* CliInitNewcli */