(C) 1998 AROS - The Amiga Research OS


NAME

APTR TaggedOpenLibrary (tag)

LOCATION
In SysBase at offset 135

SYNOPSIS
LONG tag

FUNCTION
Opens a library given by tag. This is mainly meant as a shortcut so other system modules don't have to contain the complete library name string, to save ROM space. Additionaly, this call can be used to get a pointer to one of the system copyright notices and other strings.

All libraries will be opened with version number 0.

If the library cannot be opened the first try, this function calls FindResident and InitResident on the library, and tries again.

INPUTS
tag
Which library or text string to return.

RESULT
Pointer to library or pointer to text string.

EXAMPLE

SEE ALSO
OpenLibrary(), FindResident(), InitResident()

NOTES
This is an *INTERNAL* function, and is only meant to provide backwards compatibility until all original Amiga system ROM modules that use it have been implemented as part of AROS. This function *WILL BE REMOVED* in the future. *DO NOT USE!* This can not be emhasized enough. This also applies to AROS system programmers.

BUGS

INTERNALS
No checks are made on the validity of the tag.

HISTORY
TaggedOpenLibrary -- open a library by tag (V39)