const char * libcox_command_name(libcox_context *pCtx);
Extract the running command name.
The libcox_command_name() interface returns the name of the running command in the current context.
This routine accepts as its first argument a pointer to a libcox_context which mean that it is designed to be invoked only from a foreign command.
This routine must be called from the same thread in which the application-defined function is running.
Foreign command call context.
Name of the current command being executed.