extern "C" CMDAPIIMPORT APIRET CMDSetAlias ( const char * name, const char * value, int override ) ;
This function sets the value of the alias named by the string pointed to by the name parameter to the value pointed to by the value parameter. It returns zero on success and a non-zero system error code on failure. An existing alias of the same name is only overwritten if the override parameter is non-zero.
If the alias name contains an equals ('=') character, the behaviour is undefined.