(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BPTR GetProgramDir ()

LOCATION
In DOSBase at offset 100

SYNOPSIS
/* void */

FUNCTION
This function will return the shared lock on the directory that the current process was loaded from. You can use this to help you find data files which were supplied with your program.

A NULL return is possible, which means that you may be running from the Resident list.

You should NOT under any circumstance UnLock() this lock.

INPUTS
RESULT
A shared lock on the directory the program was started from.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
24.12.1997 iaint
Added documentation
24.02.1997 iaint
Some new DOS function, required by locale
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column