(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL GetCurrentDirName (buf , len)

LOCATION
In DOSBase at offset 94

SYNOPSIS
STRPTR buf
LONG len

FUNCTION
Copies the name of the current directory from the CLI structure into the buffer. If the buffer is too small the name is truncated, and a failure is returned. If the current process doesn't have a CLI structure, a 0 length string is put into the buffer and a failure is returned.

INPUTS
buf
Buffer for the name.
len
Size of the buffer in bytes.

RESULT
!=0 on success, 0 on failure. IoErr() gives additional information in that case.

EXAMPLE

SEE ALSO
SetCurrentDirName()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
05.11.1997 turrican
Documentation added
10.10.1997 turrican
Bug fixes
02.10.1997 turrican
Implementation
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column