(C) 1998 AROS - The Amiga Research OS
NAME
#include <proto/dos.h>
BOOL SetProgramName (name)
LOCATION
In DOSBase at offset 95
SYNOPSIS
STRPTR name
FUNCTION
Sets the name for the current program in the 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
Name for the current program.
RESULT
!=0 on success, 0 on failure.
EXAMPLE
SEE ALSO
GetProgramName()
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