(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL SetPrompt (name)

LOCATION
In DOSBase at offset 97

SYNOPSIS
STRPTR name

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

INPUTS
name
The prompt to be set.

RESULT
!=0 on success, 0 on failure.

EXAMPLE

SEE ALSO
GetPrompt()

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