(C) 1998 AROS - The Amiga Research OS
The name field should refer to a NULL terminated strings, which will be copied. The type field determines the type of resident program. Normal programs should have type >= 0, system segments should have type == CMD_SYSTEM.
Note that all other values of type are reserved.
!= 0 success == 0 failure
Moved #include's into first column