Load

Loads an executable file

long Load (
        char *name,
        struct EXEC *exec
)

Arguments

name Filename
exec Pointer to an executable file structure for storing the result

Return Value

1 is returned if the function was successful.
0 is returned in all other cases.

Explanation

The executable file specified by name is loaded into memory at the address specified in its header. Internal information about the file is written to the EXEC structure pointed to by exec.

See Also

EXEC, Exec()