(C) 1998 AROS - The Amiga Research OS


NAME

BPTR ArpOpen (name , accessmode , accessmode , , )

LOCATION
In ArpBase at offset 66

SYNOPSIS
char * name
ULONG accessmode
FileHandle = ArpOpen("name" accessmode
d0 d1 d2

FUNCTION
This function is equivalent to the AmigaDOS Open(), except that this function will remember that the file is open when you do a CloseLibrary(ArpBase) and close it for you. This is part of the Resource tracking of ArpLib, which also tracks memory allocations and Locks.

INPUTS
name
pointer to a null terminated string.
accessmode
- pointer to a valid AmigaDOS access mode.
RESULT
A BPTR to a filehandle, or NULL, if an error occurred.

EXAMPLE
SEE ALSO
ArpAllocEntry(), ArpAlloc(), ArpLock(), FreeTaskResList(). dos.doc/Open

NOTES

BUGS
None known.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
28.03.1998 bergers
Some new functions.