6 char *installtemplate
= "CPU/A,ARCH/A,ARGS/F";
8 LONG
install(char *name
, STRPTR args
) {
9 BOOL retval
= RETURN_FAIL
;
10 IPTR myargs
[]={0,0,0};
11 struct RDArgs
*rdargs
;
12 struct RDArgs rda
={{args
, strlen(args
), 0}, 0, 0, 0, NULL
, 0};
14 rda
.RDA_Source
.CS_Buffer
[rda
.RDA_Source
.CS_Length
]='\n';
15 rdargs
= ReadArgs(installtemplate
, myargs
, &rda
);
21 (STRPTR
)myargs
[0], (STRPTR
)myargs
[1], (STRPTR
)myargs
[2]
26 PrintFault(IoErr(), name
);