struct EXEC *CdReadExec (
char *file
)
|
Arguments
Return Value
A pointer to the EXEC structure
containing information about the executable files that has been loaded
is returned.
Explanation
The executable file specified by file is read from the CD-ROM and
placed at the memory location specified in the header of the executable
file.
Reading is performed in the background, so CdReadSync()
should be used to determine when reading has completed.
The loaded file can be executed as a child process using Exec().
Notes
The load address of the executable file should not overlap the area used
by the parent process.
|