
Home / Autodocs / exec.library
NAME
- AddResource
-
add a resource to the system
SYNOPSIS
AddResource(resource)
void AddResource(APTR);
FUNCTION
This function adds a new resource to the system and makes it available to other users. The resource must be ready to be called at this time.
Resources currently have no system-imposed structure, however they must start with a standard named Node (LN_SIZE or sizeof(struct Node)), and should with a standard Library node (LIB_SIZE or sizeof(struct Library)).
INPUTS
- resource
-
pointer an initialized resource node
SEE ALSO