(C) 1998 AROS - The Amiga Research OS


NAME

char * AllocMiscResource ( unitNum , name)

LOCATION
In MiscBase at offset 1

SYNOPSIS
ULONG unitNum
char * name

FUNCTION
Allocates one of the miscellaneous resources.

INPUTS
unitNum
- The resource to allocate
name
- An identifying name for you, must NOT be NULL.

RESULT
NULL if the allocation was successful. If the resource couln't be allocated, the name of the holder of the resource is returned.

EXAMPLE

SEE ALSO
FreeMiscResource()

NOTES

BUGS

INTERNALS
The misc.resource should probably just redirect commands to a HIDD in the future, to support things like multiple serial ports.

HISTORY
14.06.1999 SDuvan
Misc.resource -- no more, no less.