(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL SetCurrentDirName (name)

LOCATION
In DOSBase at offset 93

SYNOPSIS
STRPTR name

FUNCTION
Sets the name of the current directory in the CLI structure. If the name doesn't fit the old name is kept and a failure returned. If the current process doesn't have a CLI structure this function does nothing.

INPUTS
name
Name for the current directory.

RESULT
!=0 on success, 0 on failure.

EXAMPLE

SEE ALSO
GetCurrentDirName()

NOTES

BUGS
Never copies more than 255 bytes.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
05.11.1997 turrican
Documentation added
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